Fix running

This commit is contained in:
Joshua Coles 2023-02-19 17:45:55 +00:00
parent 4e497b8438
commit 952e31449f
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ void DLASystem::Update() {
} else if (numParticles < endNum) {
addParticleOnAddCircle();
setParticleActive();
} else {
this->running = false;
}
}

View File

@ -17,7 +17,7 @@ int main(int argc, char **argv) {
int seed = 6;
cout << "setting seed " << seed << endl;
sys->setSeed(seed);
sys->setRunning();
sys->running = true;
/*
* NOTE: We run at max speed as rendering is handled by a different engine so we simply want to hjand