diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-10-23 14:02:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 14:02:40 +0200 |
commit | 291da56aa22608863252f419bbd8f226f0913c76 (patch) | |
tree | 03c31c93936dc4c11d6885fef2c89db378002d7b | |
parent | 850d8ac570d6db3b02970fa57116a5fd818f19ae (diff) | |
download | advtrains-291da56aa22608863252f419bbd8f226f0913c76.tar.gz advtrains-291da56aa22608863252f419bbd8f226f0913c76.tar.bz2 advtrains-291da56aa22608863252f419bbd8f226f0913c76.zip |
Fix last commit
-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,
})
|