Skip to content

Commit

Permalink
#6: Update with basic inventory/store UI to support local server mode…
Browse files Browse the repository at this point in the history
…. Still need to hook up inventory system for network sync and bug with shield equip push agent back
  • Loading branch information
Danil Ko committed Mar 1, 2021
1 parent a19ad61 commit 6421fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai/TeamMapAI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private void _assignDefaultWeapon(Agent agent)
_inventoryManager.AddItem(_inventoryManager.GetPurchasableItemByID("SYC-800"), agent.GetInventory());
// TODO: There is bug with shield that will push agent back
// _inventoryManager.EquipItem(agent.GetInventory(), agent.GetInventory().GetItemIndex("SYC-600"), Weapon.WeaponOrder.Left, 0);
_inventoryManager.EquipItem(agent.GetInventory(), agent.GetInventory().GetItemIndex("SYC-800"), Weapon.WeaponOrder.Right, 0);
_inventoryManager.EquipItem(agent.GetInventory(), agent.GetInventory().GetItemIndex("SYC-800"), Weapon.WeaponOrder.Left, 0);
}

public void RemoveUnit(String unitID)
Expand Down

0 comments on commit 6421fa9

Please sign in to comment.