From 0f9e46637e48f6886c13838fd96b2aac16593d21 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 15 Dec 2018 07:07:46 -0500 Subject: [PATCH] Quit game when finishing cinematic mode --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5bce8c1..0c8773e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) {