forked from VoxeLibre/VoxeLibre
remove debug and remove resetting value 20 times per second
This commit is contained in:
parent
5378d8eba7
commit
2b2c2cf9cc
|
@ -183,8 +183,7 @@ local horse = {
|
||||||
|
|
||||||
if not self._horse_speed then
|
if not self._horse_speed then
|
||||||
self._horse_speed = math.random(486, 1457)/100
|
self._horse_speed = math.random(486, 1457)/100
|
||||||
else
|
elseif self.run_velocity ~= self._horse_speed then
|
||||||
minetest.chat_send_all(self._horse_speed)
|
|
||||||
self.run_velocity = self._horse_speed
|
self.run_velocity = self._horse_speed
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue