mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Warehouse v0.4.4
- Fixed little bug in warehouse. - Added home event function to cargo airplane. Planes are now going home after job is done. - Added false option for :Destroy() to generate no event. - Added false parameter to respawn function.
This commit is contained in:
@@ -991,7 +991,7 @@ WAREHOUSE.db = {
|
||||
|
||||
--- Warehouse class version.
|
||||
-- @field #string version
|
||||
WAREHOUSE.version="0.4.3"
|
||||
WAREHOUSE.version="0.4.4"
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
-- TODO: Warehouse todo list.
|
||||
@@ -4862,7 +4862,7 @@ function WAREHOUSE:_CheckRequestValid(request)
|
||||
|
||||
-- Convert relative to absolute number if necessary.
|
||||
local nasset=request.ntransport
|
||||
if type(request.nasset)=="string" then
|
||||
if type(request.ntransport)=="string" then
|
||||
nasset=self:_QuantityRel2Abs(request.ntransport,_nassets)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user