Fix Warning

fork-master
Emojigit 2021-04-24 17:20:10 +08:00 committed by Thomas--S
parent f909bfe6ff
commit abc152f8cf
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ minetest.register_entity("streets:matrix_screen_lights", {
visual = "cube",
visual_size = { x = 0.99, y = 0.99 },
on_activate = function(self, staticdata)
local pos = self.object:getpos()
local pos = self.object:get_pos()
if not vector.equals(pos, vector.round(pos)) then
self.object:remove()
return