S7-01 + S7-02
This commit is contained in:
@@ -24,10 +24,10 @@ namespace GeometryTD.CustomComponent
|
||||
}
|
||||
}
|
||||
|
||||
public void OnInit()
|
||||
public void OnInit(BackpackInventoryData initialInventory = null)
|
||||
{
|
||||
EnsureServices();
|
||||
_commandModel.Initialize(InventorySeedUtility.CreateSampleInventory(), MaxParticipantTowerCount);
|
||||
_commandModel.Initialize(initialInventory ?? InventorySeedUtility.CreateSampleInventory(), MaxParticipantTowerCount);
|
||||
|
||||
BackpackInventoryData inventory = _queryModel.Inventory;
|
||||
Log.Info(
|
||||
|
||||
Reference in New Issue
Block a user