diff options
Diffstat (limited to 'advtrains')
-rw-r--r-- | advtrains/wagons.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua index d020734..3e8641e 100644 --- a/advtrains/wagons.lua +++ b/advtrains/wagons.lua @@ -302,7 +302,7 @@ function wagon:on_step(dtime) textures={new_line_tex},
})
self.line_cache=gp.line
- elseif self.line_cache~=nil then
+ elseif self.line_cache~=nil and gp.line==nil then
self.object:set_properties({
textures=self.textures,
})
|