bunch of less-powerful-problems fixed
This commit is contained in:
parent
e5722dc481
commit
e0a253def2
@ -104,6 +104,8 @@ function ice_spikes:on_step(dtime)
|
||||
local player = minetest.get_player_by_name(self._pl_name)
|
||||
self._time_passed = self._time_passed + dtime
|
||||
self._tick_buffer = self._tick_buffer + dtime
|
||||
local spike_base = vector.add(self.object:get_pos(), {x=0, y=-0.4, z=0})
|
||||
local is_in_place = not fbrawl.are_there_nodes_in_area(spike_base, 0.5)
|
||||
|
||||
if not player then
|
||||
self.object:remove()
|
||||
|
Loading…
x
Reference in New Issue
Block a user