aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_subway
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-05-29 15:53:34 +0200
committerorwell96 <orwell@bleipb.de>2018-06-14 17:39:42 +0200
commit3d7924c751bc8ca438e4b9bd1cb1f241cc636494 (patch)
treef389bb158500b7bdb03d792f7f1a80bd8a5de18b /advtrains_train_subway
parent521112aced4e06f8fb59c9dfe8d0e082da858eb1 (diff)
downloadadvtrains-3d7924c751bc8ca438e4b9bd1cb1f241cc636494.tar.gz
advtrains-3d7924c751bc8ca438e4b9bd1cb1f241cc636494.tar.bz2
advtrains-3d7924c751bc8ca438e4b9bd1cb1f241cc636494.zip
Fix bugs found while testing
Diffstat (limited to 'advtrains_train_subway')
-rw-r--r--advtrains_train_subway/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains_train_subway/init.lua b/advtrains_train_subway/init.lua
index 4a5f4d7..62bcc41 100644
--- a/advtrains_train_subway/init.lua
+++ b/advtrains_train_subway/init.lua
@@ -76,6 +76,7 @@ advtrains.register_wagon("subway_wagon", {
is_locomotive=true,
drops={"default:steelblock 4"},
horn_sound = "advtrains_subway_horn",
+ glow = -1, --supposed to disable effect of light to texture color, so that the entity always appears as full-bright
custom_on_velocity_change = function(self, velocity, old_velocity, dtime)
if not velocity or not old_velocity then return end
if old_velocity == 0 and velocity > 0 then