aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_industrial
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains_train_industrial')
-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,