1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00

Fix not catching server killing walkabout player

This commit is contained in:
Matthew Heguy 2018-11-27 17:36:05 -05:00
parent a5f0cc77b9
commit be87e0fb12

View File

@ -88,7 +88,7 @@ local function kill(cmd)
end end
if global.walking then if global.walking then
if (player and global.walking[player.index]) or (player and player.admin and target and global.walking[target.index]) then if (player and global.walking[player.index]) or (target and global.walking[target.index]) then
Game.player_print("A player on walkabout cannot be killed by a mere fish, don't waste your efforts.") Game.player_print("A player on walkabout cannot be killed by a mere fish, don't waste your efforts.")
return return
end end