forked from Mirrors/openclonk
Script functions: remove all BCCs at once instead of individually
parent
1cd3534740
commit
829bb8cb28
|
@ -74,8 +74,8 @@ void C4AulScriptFunc::RemoveLastBCC()
|
|||
|
||||
void C4AulScriptFunc::ClearCode()
|
||||
{
|
||||
while(Code.size() > 0)
|
||||
RemoveLastBCC();
|
||||
Code.clear();
|
||||
PosForCode.clear();
|
||||
// This function is now broken until an AddBCC call
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue