mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 08:03:45 +01:00
Avoid negation of comparison operator (luacheck warning)
This commit is contained in:
parent
3dd7d7867b
commit
cf650fcaac
@ -1282,7 +1282,7 @@ local function handle_kill_command(killer, victim)
|
|||||||
return false, S("@1 is already dead.", victim)
|
return false, S("@1 is already dead.", victim)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if not killer == victim then
|
if killer ~= victim then
|
||||||
core.log("action", string.format("%s killed %s", killer, victim))
|
core.log("action", string.format("%s killed %s", killer, victim))
|
||||||
end
|
end
|
||||||
-- Kill victim
|
-- Kill victim
|
||||||
|
Loading…
Reference in New Issue
Block a user