1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-17 21:08:08 +02:00

fix to kill command

This commit is contained in:
grilledham 2018-07-03 17:24:05 +01:00
parent 1d7d90c25a
commit 6b70d01957

View File

@ -100,7 +100,7 @@ local function kill(cmd)
player_print("Sorry, you don't have a character to kill.")
end
elseif target and player.admin then
if not do_fish_kill(player) then
if not do_fish_kill(target) then
player_print(table.concat {"'Sorry, '", target.name, "' doesn't have a character to kill."})
end
else