advtrains_train_jre231: fix door animation

This commit is contained in:
Sergei Mozhaisky 2019-11-19 10:58:29 +00:00
parent aa0c5e95d7
commit 98f28e9f6b

View File

@ -79,12 +79,6 @@ advtrains.register_wagon("KuHa_E231", {
end
end
end,
update_animation=function(self, velocity)
if self.old_anim_velocity~=advtrains.abs_ceil(velocity) then
self.object:set_animation({x=1,y=80}, advtrains.abs_ceil(velocity)*15, 0, true)
self.old_anim_velocity=advtrains.abs_ceil(velocity)
end
end,
door_entry={-1},
assign_to_seat_group = {"dstand", "pass"},
visual_size = {x=1, y=1},