mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-01 00:15:00 -04:00
Merge pull request #2314 from laituan245/master
A small fix to the PR #2313
This commit is contained in:
commit
c29bb432e1
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ module.exports = class HeroVictoryModal extends ModalView
|
||||||
|
|
||||||
updateXPBars: (achievedXP) ->
|
updateXPBars: (achievedXP) ->
|
||||||
previousXP = @previousXP
|
previousXP = @previousXP
|
||||||
|
previousXP = previousXP + 1000000 if me.isInGodMode()
|
||||||
previousLevel = @previousLevel
|
previousLevel = @previousLevel
|
||||||
|
|
||||||
currentXP = previousXP + achievedXP
|
currentXP = previousXP + achievedXP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue