Route docked ship selection through checkpoints
This commit is contained in:
parent
8d802ce1e0
commit
afc7dc3134
5 changed files with 80 additions and 4 deletions
|
|
@ -119,9 +119,8 @@ public class InventoryPanel : MonoBehaviour, IPointerClickHandler
|
|||
{
|
||||
if(_displayedEntity is Ship ship)
|
||||
{
|
||||
GameManager.CurrentEntity = ship;
|
||||
GameManager.DockingBay.DockedShip = ship;
|
||||
Current.targetGraphic.color = ToggleEnabledColor;
|
||||
if (GameManager.CommitDockedCurrentShip(ship))
|
||||
Current.targetGraphic.color = ToggleEnabledColor;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue