Let daemon validate docked ship selection
This commit is contained in:
parent
16b7c9334a
commit
93ece6b305
2 changed files with 21 additions and 6 deletions
|
|
@ -951,10 +951,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
|
||||
public bool RequestDockedCurrentShip(Ship ship)
|
||||
{
|
||||
if (ship == null ||
|
||||
!ship.IsPlayerShip ||
|
||||
DockedEntity == null ||
|
||||
DockingBay == null)
|
||||
if (ship == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue