Debuged all functions

This commit is contained in:
Cooldude2606 committed 2019-04-09 20:53:17 +01:00
1 parent d7474947f0
commit 73a319b220
9 files changed
+109 -50

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ end
function Game.get_player_from_any(obj)
local o_type = type(obj)
local p
if type == 'number' then
if o_type == 'number' then
p = Game.get_player_by_index(obj)
elseif o_type == 'string' then
p = game.players[obj]