1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Fix using ii instead of i in script serialization

Otherwise this results in an infinite loop. Whoops.
This commit is contained in:
Misa 2021-02-15 21:11:08 -08:00 committed by Ethan Lee
parent b243b116c9
commit 99276d7cdd

View file

@ -2046,7 +2046,7 @@ bool editorclass::save(std::string& _path)
Script& script_ = script.customscripts[i]; Script& script_ = script.customscripts[i];
scriptString += script_.name + ":|"; scriptString += script_.name + ":|";
for (size_t ii = 0; ii < script_.contents.size(); i++) for (size_t ii = 0; ii < script_.contents.size(); ++ii)
{ {
scriptString += script_.contents[ii]; scriptString += script_.contents[ii];