Skip to content

Commit

Permalink
Swaps the order of newpixNumber update and ONGBase calculations so th…
Browse files Browse the repository at this point in the history
…ey are in the correct order

Fixes issue eternaldensity#1539
  • Loading branch information
Eregrith authored Sep 21, 2024
1 parent 4ecf1f2 commit 1b8481e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion castle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3726,10 +3726,10 @@ Molpy.Up = function() {
var story=Molpy.currentStory
if(story==-1){type=0} else{type=Molpy.fracParts[story]}
}
Molpy.ONGBase();
var todo=Molpy.ONGs[type];
if(todo==undefined){todo=Molpy.ONGs[0]}
todo();
Molpy.ONGBase();
Molpy.newpixNumber=Number((Molpy.newpixNumber).toFixed(3))
Molpy.UpdateBeach();
Molpy.HandlePeriods();
Expand Down

0 comments on commit 1b8481e

Please sign in to comment.