mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
AIRBOSS v0.2.3
group fixed init heading
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user