added color change upon changing a unit's player

This commit is contained in:
devZoGok
2025-06-24 12:23:56 +03:00
parent 7c4d26e08c
commit 86f73ca279
5 changed files with 46 additions and 35 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ namespace battleship{
}
if(hackStatus >= 100){
Game::getSingleton()->changeUnitPlayer(order.targets[0].unit, player);
order.targets[0].unit->changePlayer(player);
removeOrder(0);
}
}