1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-02 19:13:31 +02:00

Reset textbox colors properly

This commit is contained in:
AllyTally 2023-03-27 17:53:13 -03:00 committed by Misa Elizabeth Kai
parent efa1bad449
commit 07e48565ed

View File

@ -2562,6 +2562,19 @@ void scriptclass::startgamemode(const enum StartMode mode)
}
}
/* Containers which need to be reset before gameplay starts
* ex. before custom levels get loaded */
switch (mode)
{
case Start_EDITORPLAYTESTING:
break;
default:
textbox_colours.clear();
add_default_colours();
break;
}
hardreset();
if (mode == Start_EDITOR)