mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
df79c765f8
@ -670,10 +670,10 @@ function AIRBASE:SetParkingSpotWhitelist(TerminalIdWhitelist)
|
|||||||
|
|
||||||
-- Ensure we got a table.
|
-- Ensure we got a table.
|
||||||
if type(TerminalIdWhitelist)~="table" then
|
if type(TerminalIdWhitelist)~="table" then
|
||||||
TerminalIdWhitelist={self.parkingBlacklist}
|
TerminalIdWhitelist={TerminalIdWhitelist}
|
||||||
end
|
end
|
||||||
|
|
||||||
self.parkingWhitelist={TerminalIdWhitelist}
|
self.parkingWhitelist=TerminalIdWhitelist
|
||||||
|
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
@ -694,7 +694,7 @@ function AIRBASE:SetParkingSpotBlacklist(TerminalIdBlacklist)
|
|||||||
|
|
||||||
-- Ensure we got a table.
|
-- Ensure we got a table.
|
||||||
if type(TerminalIdBlacklist)~="table" then
|
if type(TerminalIdBlacklist)~="table" then
|
||||||
TerminalIdBlacklist={self.parkingBlacklist}
|
TerminalIdBlacklist={TerminalIdBlacklist}
|
||||||
end
|
end
|
||||||
|
|
||||||
self.parkingBlacklist=TerminalIdBlacklist
|
self.parkingBlacklist=TerminalIdBlacklist
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user