remove debug and remove resetting value 20 times per second

This commit is contained in:
epCode 2022-10-28 02:00:39 +00:00 committed by cora
parent 5378d8eba7
commit 2b2c2cf9cc

View file

@ -183,8 +183,7 @@ local horse = {
if not self._horse_speed then
self._horse_speed = math.random(486, 1457)/100
else
minetest.chat_send_all(self._horse_speed)
elseif self.run_velocity ~= self._horse_speed then
self.run_velocity = self._horse_speed
end