forked from mtcontrib/awards
Compare commits
1 Commits
nalc-1.2.0
...
github/for
Author | SHA1 | Date | |
---|---|---|---|
a0b232aa2b |
@ -152,7 +152,9 @@ function awards.register_trigger(tname, tdef)
|
||||
end
|
||||
end
|
||||
|
||||
assert(player and player.is_player and player:is_player() and key)
|
||||
if not (player and player.is_player and player:is_player() and key) then
|
||||
return
|
||||
end
|
||||
local name = player:get_player_name()
|
||||
local data = awards.player(name)
|
||||
|
||||
|
Reference in New Issue
Block a user