From be87e0fb126a5007e3efbe48ebdd7b39f8d120b2 Mon Sep 17 00:00:00 2001 From: Matthew Heguy Date: Tue, 27 Nov 2018 17:36:05 -0500 Subject: [PATCH] Fix not catching server killing walkabout player --- features/custom_commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/custom_commands.lua b/features/custom_commands.lua index 2b23914b..4d49cbb0 100644 --- a/features/custom_commands.lua +++ b/features/custom_commands.lua @@ -88,7 +88,7 @@ local function kill(cmd) end 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.") return end