Move "return to editor" alpha timer update to logic functions

Otherwise it'll go by too quickly.

Also something subtle here - I didn't make it conditional on
game.advancetext, so now it'll still decrement even if you have
advancetext up.
This commit is contained in:
Misa
2020-05-02 10:45:35 -07:00
committed by Ethan Lee
parent ca9f44c3b8
commit 5daad95f1d
2 changed files with 7 additions and 3 deletions

View File

@@ -1390,9 +1390,6 @@ void gamerender()
if(map.custommode && !map.custommodeforreal && !game.advancetext){
//Return to level editor
graphics.bprintalpha(5, 5, "[Press ENTER to return to editor]", 220 - (help.glow), 220 - (help.glow), 255 - (help.glow / 2), ed.returneditoralpha, false);
if (ed.returneditoralpha > 0) {
ed.returneditoralpha -= 15;
}
}
#endif