diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-04-05 13:06:09 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-04-05 13:06:09 +0100 |
commit | ee4931ae6efbc063431069768bbb37f44478f6db (patch) | |
tree | ae36f877dfd49aaa4aaa0b533650cd8bc5325109 | |
parent | 51ccb8c1b6d45f44627300f0758aa3141405cf69 (diff) |
Add assert to awards.player()
-rw-r--r-- | api.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,6 +91,7 @@ function awards.load() end function awards.player(name) + assert(type(name) == "string") local data = awards.players[name] or {} awards.players[name] = data data.name = data.name or name |