#CTLD #DYNAMICCARGO

This commit is contained in:
Applevangelist
2024-08-13 19:07:57 +02:00
parent ba5743c057
commit 60d68161c4
4 changed files with 277 additions and 97 deletions

View File

@@ -1530,6 +1530,7 @@ function EVENT:onEvent( Event )
if Event.dynamiccargo then
Event.IniDynamicCargo = Event.dynamiccargo
Event.IniDynamicCargoName = Event.IniDynamicCargo.StaticName
Event.IniPlayerName = Event.IniDynamicCargo.Owner or string.match(Event.IniUnitName,"^(.+)|%d%d:%d%d|PKG%d+")
end
-- Zone object.