summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--economy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/economy.c b/economy.c
index 1abdda6d7..64c947a28 100644
--- a/economy.c
+++ b/economy.c
@@ -249,6 +249,7 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player)
* removing his/her property doesn't fail because of lack of money */
if (new_player == OWNER_SPECTATOR) {
GetPlayer(old_player)->money64 = ((uint64)-1)>>1; // jackpot ;p
+ UpdatePlayerMoney32(GetPlayer(old_player));
}
if (new_player == OWNER_SPECTATOR) {