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 authored and Ethan Lee committed 2020-06-19 09:05:48 -04:00
1 parent ca9f44c3b8
commit 5daad95f1d
2 files changed
+7 -3

No files matched your search

+7
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
}