aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game')
-rw-r--r--builtin/game/chat.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/chat.lua b/builtin/game/chat.lua
index b73e32876..493bb92c0 100644
--- a/builtin/game/chat.lua
+++ b/builtin/game/chat.lua
@@ -1282,7 +1282,7 @@ local function handle_kill_command(killer, victim)
return false, S("@1 is already dead.", victim)
end
end
- if not killer == victim then
+ if killer ~= victim then
core.log("action", string.format("%s killed %s", killer, victim))
end
-- Kill victim