mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Reset textbox colors properly
This commit is contained in:
parent
efa1bad449
commit
07e48565ed
1 changed files with 13 additions and 0 deletions
|
@ -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();
|
hardreset();
|
||||||
|
|
||||||
if (mode == Start_EDITOR)
|
if (mode == Start_EDITOR)
|
||||||
|
|
Loading…
Reference in a new issue