diff options
-rw-r--r-- | advtrains/advtrains/wagons.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/advtrains/wagons.lua b/advtrains/advtrains/wagons.lua index f1964ef..567b560 100644 --- a/advtrains/advtrains/wagons.lua +++ b/advtrains/advtrains/wagons.lua @@ -285,7 +285,7 @@ function wagon:on_step(dtime) --check infotext
local outside=self:train().text_outside or ""
- if self.object:get_properties().infotext==outside then
+ if self.object:get_properties().infotext~=outside then
self.object:set_properties({infotext=outside})
end
|