Skip to content

Commit 6552b18

Browse files
committed
fixed gold
1 parent 9b4ca50 commit 6552b18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Server/Emulator/Handlers/GateHandlers/Beatmaps.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public static class Beatmaps
280280
account.CharacterList.list.Add(character);
281281
}
282282

283-
if (Convert.ToBoolean(data.playData.finishLevel))
283+
if (Convert.ToBoolean(data.playData.life > 0))
284284
{
285285
character.playCount++;
286286
character.exp++;
@@ -403,7 +403,7 @@ public static class Beatmaps
403403
account.maxExp = (uint)Math.Round(account.maxExp * 1.2f, 0);
404404
}
405405

406-
account.currencyInfo.gold += goldGained;
406+
account.currencyInfo.diamond += goldGained;
407407

408408
var settleData = new cometScene.SettleData
409409
{

0 commit comments

Comments
 (0)