aboutsummaryrefslogtreecommitdiff
path: root/advtrains/wagons.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-04-25 21:53:41 +0200
committerorwell96 <orwell@bleipb.de>2021-04-25 21:54:51 +0200
commit112e3ff2555f1380a5125a9b09ef0a7fc81b053a (patch)
tree40a757346fa5ac19dc10e3ccf27cfc9b6da131dd /advtrains/wagons.lua
parente04c21be78f6c915537f7dc8fdbf8110d7eadcd0 (diff)
downloadadvtrains-112e3ff2555f1380a5125a9b09ef0a7fc81b053a.tar.gz
advtrains-112e3ff2555f1380a5125a9b09ef0a7fc81b053a.tar.bz2
advtrains-112e3ff2555f1380a5125a9b09ef0a7fc81b053a.zip
Fix undeclared globals warnings (#176)
Reported by Vanessa Dannenberg
Diffstat (limited to 'advtrains/wagons.lua')
-rw-r--r--advtrains/wagons.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua
index f918571..e9b6d7a 100644
--- a/advtrains/wagons.lua
+++ b/advtrains/wagons.lua
@@ -934,6 +934,7 @@ function wagon:show_bordcom(pname)
if not self:train() then return end
local train = self:train()
local data = advtrains.wagons[self.id]
+ local linhei
local form = "size[11,9]label[0.5,0;AdvTrains Boardcom v0.1]"
form=form.."textarea[0.5,1.5;7,1;text_outside;"..attrans("Text displayed outside on train")..";"..(minetest.formspec_escape(train.text_outside or "")).."]"