mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +12:00
fix money related bugs and crashes.
This commit is contained in:
parent
99d9b401a2
commit
e600554555
21 changed files with 151 additions and 83 deletions
|
@ -271,7 +271,7 @@ namespace HISP.Game
|
|||
if (place == 0) // WINNER!
|
||||
{
|
||||
int prize = EntryCost * Entries.Count;
|
||||
entry.EnteredUser.Money += prize;
|
||||
entry.EnteredUser.AddMoney(prize);
|
||||
|
||||
|
||||
byte[] youWinMessage = PacketBuilder.CreateChat(Messages.FormatArenaYouWinMessage(prize, expReward), PacketBuilder.CHAT_BOTTOM_RIGHT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue