Restoring stat tables WIP
This commit is contained in:
@@ -80,7 +80,7 @@ function PlayerClass:HasQuit()
|
||||
end
|
||||
|
||||
---Adds a Unit type to the Player's reinforcement list.
|
||||
---@param objectType table FoC GameObjectTypeWrapper object that was built.
|
||||
---@param objectType GameObjectType FoC GameObjectTypeWrapper object that was built.
|
||||
---@return UnitClass
|
||||
function PlayerClass:AddUnit(objectType)
|
||||
local unit = UnitClass:New(objectType, self.Id)
|
||||
|
||||
Reference in New Issue
Block a user