aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_steam/init.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-06-14 21:33:18 +0200
committerorwell96 <orwell@bleipb.de>2018-06-14 21:33:18 +0200
commit6524c656a63ac6b34072411a7566bdd3712a1f91 (patch)
treed7a89901d23004b388c7c3a831b8acf0079e7b26 /advtrains_train_steam/init.lua
parenta758426835f07437da897b9e4a8bab7b6cf0542e (diff)
downloadadvtrains-6524c656a63ac6b34072411a7566bdd3712a1f91.tar.gz
advtrains-6524c656a63ac6b34072411a7566bdd3712a1f91.tar.bz2
advtrains-6524c656a63ac6b34072411a7566bdd3712a1f91.zip
Fix box wagons
Diffstat (limited to 'advtrains_train_steam/init.lua')
-rwxr-xr-xadvtrains_train_steam/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_train_steam/init.lua b/advtrains_train_steam/init.lua
index 10982aa..bded391 100755
--- a/advtrains_train_steam/init.lua
+++ b/advtrains_train_steam/init.lua
@@ -213,7 +213,7 @@ advtrains.register_wagon("wagon_box", {
has_inventory = true,
get_inventory_formspec = function(self)
return "size[8,11]"..
- "list[detached:advtrains_wgn_"..self.unique_id..";box;0,0;8,3;]"..
+ "list[detached:advtrains_wgn_"..self.id..";box;0,0;8,3;]"..
"list[current_player;main;0,5;8,4;]"..
"listring[]"
end,