1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01: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)