refactoring

This commit is contained in:
Manuel Simon Hirsig
2017-11-07 22:01:30 +01:00
parent 064c03927c
commit 3dbeb1e679
3 changed files with 13 additions and 17 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ end
do
local characters = T.empty
function M.is_player(name)
return characters[name] and true or false
return not not characters[name]
end
function handle.LOAD2()
characters = realm_data'characters'