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:
parent
b243b116c9
commit
99276d7cdd
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue