From 9f52b2eac3dc8255f57f724a2a9a185cacbf3423 Mon Sep 17 00:00:00 2001 From: 964293341 Date: Sun, 22 Oct 2023 12:04:29 +0800 Subject: [PATCH] style: cs format Add whitespace in Ship.cs(109, 17), Team.cs(28, 19) --- logic/GameClass/GameObj/Ship.cs | 2 +- logic/GameClass/GameObj/Team.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/logic/GameClass/GameObj/Ship.cs b/logic/GameClass/GameObj/Ship.cs index 582939fb..95ad01a9 100644 --- a/logic/GameClass/GameObj/Ship.cs +++ b/logic/GameClass/GameObj/Ship.cs @@ -106,7 +106,7 @@ public long SetShipState(RunningStateType running, ShipStateType value = ShipSta } public long SetShipStateNaturally() { - lock(actionLock) + lock (actionLock) { runningState = RunningStateType.Null; whatInteractingWith = null; diff --git a/logic/GameClass/GameObj/Team.cs b/logic/GameClass/GameObj/Team.cs index 57b8b623..ab858227 100644 --- a/logic/GameClass/GameObj/Team.cs +++ b/logic/GameClass/GameObj/Team.cs @@ -25,7 +25,7 @@ public class Team } public bool AddShip(Ship ship) { - switch(ship.ShipType) + switch (ship.ShipType) { case ShipType.CivilShip: if (GetCivilShipNum() >= GameData.MaxCivilShipNum)