summaryrefslogtreecommitdiff
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
commita0ff37eabb4f9a1abc0dbd68b6ed71f290d93ca5 (patch)
treefd6011573b859b659bdd9a06ea78f699a81e70db /advtrains_train_subway
parent544e5ba2bb1963ac625a19beaaa271d2f3ba96a2 (diff)
downloadbasic_trains-a0ff37eabb4f9a1abc0dbd68b6ed71f290d93ca5.tar.gz
basic_trains-a0ff37eabb4f9a1abc0dbd68b6ed71f290d93ca5.tar.bz2
basic_trains-a0ff37eabb4f9a1abc0dbd68b6ed71f290d93ca5.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