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

@@ -1664,4 +1664,11 @@ void gamelogic()
{
map.glitchname = map.getglitchname(game.roomx, game.roomy);
}
#if !defined(NO_CUSTOM_LEVELS)
if (map.custommode && !map.custommodeforreal && ed.returneditoralpha > 0)
{
ed.returneditoralpha -= 15;
}
#endif
}