fix(aliens.lua): reversed change to copy original

It was found that aliens checking was no longer needed because of a bug in a previous version, thus was removed in the original repo.

BREAKING CHANGE: changes the repo into a somewhat mergable state from original repo (to update from 1.0.3 to 1.0.4)
master
Apollo 2022-01-13 11:59:43 -05:00
parent 3de1045c1e
commit b44125cee2
1 changed files with 1 additions and 7 deletions

View File

@ -141,13 +141,7 @@ function alien_step(self, dtime)
follow_player(self)
end
update_state(self)
local node = minetest.get_node(self.object:get_pos()).name
if node ~= "air" and string.sub(node, 0, 8) ~= "mesecons" then
self.object:remove()
alien_count = alien_count - 1
end
update_state(self)
end
--simulates gravity