Warehouse

little updates
static countryid
This commit is contained in:
funkyfranky
2018-09-17 14:04:30 +02:00
parent 85640c5884
commit f4f942d8d4
2 changed files with 3 additions and 5 deletions

View File

@@ -197,9 +197,9 @@ end
-- @param DCS#country.id countryid The country ID used for spawning the new static.
function STATIC:ReSpawn(countryid)
local SpawnStatic = SPAWNSTATIC:NewFromStatic( self.StaticName )
local SpawnStatic = SPAWNSTATIC:NewFromStatic( self.StaticName, countryid )
SpawnStatic:ReSpawn(countryid)
SpawnStatic:ReSpawn()
end