Skip to content

Commit c8e9aa9

Browse files
committed
fix map check for return
1 parent 006602d commit c8e9aa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

funTools.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ local function ft_command(event, player, command, chatHandler)
705705
chatHandler:SendSysMessage("Can not use 'return' from the console. Requires player object.")
706706
return false
707707
end
708-
if storedMap[player:GetGUIDLow()] and storedMap[player:GetGUIDLow()] == 1 then
708+
if storedMap[player:GetGUIDLow()] ~= nil and storedMap[player:GetGUIDLow()] >= 1 then
709709
if not player:IsAlive() then
710710
player:ResurrectPlayer(100)
711711
end

0 commit comments

Comments
 (0)