Fix spawner bot removal

master
shivajiva101 2020-09-02 23:26:44 +01:00 committed by GitHub
parent 041e9d8d3a
commit 55ff846637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ minetest.register_entity("eggwars:bot", {
self.object:remove()
else
local match = eggwars.match[key]
if not match.uid == self.uid then
if match.uid ~= self.uid then
self.object:remove()
end
end