AIRBOSS v0.2.3

group fixed init heading
This commit is contained in:
Frank
2018-11-11 23:55:19 +01:00
parent cf4be99093
commit 2d7d19880f
5 changed files with 1330 additions and 77 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1798,7 +1798,10 @@ function WAREHOUSE:New(warehouse, alias)
-- Check if just a string was given and convert to static.
if type(warehouse)=="string" then
warehouse=STATIC:FindByName(warehouse, true)
warehouse=GROUP:FindByName(warehouse)
if warehouse==nil then
warehouse=STATIC:FindByName(warehouse, true)
end
end
-- Nil check.