summaryrefslogtreecommitdiff
path: root/api_helpers.lua
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2018-04-04 17:01:55 +0100
committerrubenwardy <rubenwardy@gmail.com>2018-04-04 17:01:55 +0100
commitef19940edc20791d2342b7b68b7bb098a0abc2db (patch)
tree1f793cc93771992d353d3802358d01fdb25e1398 /api_helpers.lua
parent8b024accdd7b76229de87eb8b58ee688eb028beb (diff)
Add trigger definitions rather than register function
Diffstat (limited to 'api_helpers.lua')
-rw-r--r--api_helpers.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/api_helpers.lua b/api_helpers.lua
index cd499ab..88aebd4 100644
--- a/api_helpers.lua
+++ b/api_helpers.lua
@@ -34,6 +34,7 @@ function awards.assertPlayer(playern)
end
function awards.player(name)
+ awards.assertPlayer(name)
return awards.players[name]
end