summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains_train_industrial/init.lua4
-rwxr-xr-xadvtrains_train_steam/init.lua2
2 files changed, 3 insertions, 3 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,
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,