From 6524c656a63ac6b34072411a7566bdd3712a1f91 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Thu, 14 Jun 2018 21:33:18 +0200 Subject: Fix box wagons --- advtrains_train_industrial/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'advtrains_train_industrial') 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, -- cgit v1.2.3