1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 15:38:30 +02: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];
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];