aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_industrial/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_industrial/init.lua
parenta758426835f07437da897b9e4a8bab7b6cf0542e (diff)
downloadadvtrains-6524c656a63ac6b34072411a7566bdd3712a1f91.tar.gz
advtrains-6524c656a63ac6b34072411a7566bdd3712a1f91.tar.bz2
advtrains-6524c656a63ac6b34072411a7566bdd3712a1f91.zip
Fix box wagons
Diffstat (limited to 'advtrains_train_industrial/init.lua')
-rw-r--r--advtrains_train_industrial/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua
index 71154fb..0ee6cc7 100644
--- a/advtrains_train_industrial/init.lua
+++ b/advtrains_train_industrial/init.lua
@@ -94,7 +94,7 @@ advtrains.register_wagon("wagon_tank", {
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,
@@ -116,7 +116,7 @@ advtrains.register_wagon("wagon_wood", {
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,