From 2a9891577c1b00068cc4ec858c7dc6c5196f0a2b Mon Sep 17 00:00:00 2001 From: orwell Date: Tue, 27 May 2025 20:50:00 +0200 Subject: Reduce dependencies on cesky hvozd APIs --- advtrains/wagons.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'advtrains/wagons.lua') diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua index 79a314f..15e0c61 100644 --- a/advtrains/wagons.lua +++ b/advtrains/wagons.lua @@ -1400,7 +1400,6 @@ function advtrains.register_wagon(sysname_p, prototype, desc, inv_img, nincreati if not string.match(sysname, ":") then sysname = "advtrains:"..sysname_p end - ch_core.upgrade_entity_properties(prototype, {keep_fields = false, base_properties = wagon_base_initial_properties}) if prototype.initial_properties ~= nil then local ip = prototype.initial_properties if ip.selectionbox == nil or ip.selectionbox.rotate == nil then -- cgit v1.2.3