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:
parent
1d7d90c25a
commit
6b70d01957
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user