Skip to content

Commit

Permalink
fix: 🐛 money value not same as doc
Browse files Browse the repository at this point in the history
  • Loading branch information
panxuc authored and DreamEnderKing committed May 10, 2024
1 parent b4e8f3f commit d6b5152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/Gaming/ShipManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void BeAttacked(Ship ship, Bullet bullet)
ShipManagerLogging.logger.ConsoleLogDebug(
LoggingFunctional.ShipLogInfo(ship)
+ " is destroyed!");
var money = ship.GetCost();
var money = (long)(ship.GetCost() * 0.2);
bullet.Parent.AddMoney(money);
ShipManagerLogging.logger.ConsoleLogDebug(
LoggingFunctional.ShipLogInfo((Ship)bullet.Parent)
Expand Down

0 comments on commit d6b5152

Please sign in to comment.