Quit game when finishing cinematic mode
This commit is contained in:
parent
b793c1750d
commit
0f9e46637e
1 changed files with 2 additions and 2 deletions
|
@ -373,8 +373,8 @@ int main(int argc, char* argv[]) {
|
|||
// we have reached the end of the cinematic
|
||||
if(animationTime >= endTime) {
|
||||
currentShot = nullptr;
|
||||
|
||||
world->meshes.clear();
|
||||
|
||||
running = false;
|
||||
}
|
||||
|
||||
if(currentShot != nullptr) {
|
||||
|
|
Reference in a new issue