Skip to content

Commit

Permalink
style: cs format
Browse files Browse the repository at this point in the history
Add whitespace in Ship.cs(109, 17), Team.cs(28, 19)
  • Loading branch information
asdawej committed Oct 22, 2023
1 parent 9ed23a2 commit 9f52b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion logic/GameClass/GameObj/Ship.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public long SetShipState(RunningStateType running, ShipStateType value = ShipSta
}
public long SetShipStateNaturally()
{
lock(actionLock)
lock (actionLock)
{
runningState = RunningStateType.Null;
whatInteractingWith = null;
Expand Down
2 changes: 1 addition & 1 deletion logic/GameClass/GameObj/Team.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9f52b2e

Please sign in to comment.