summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index c866805..1e10b0e 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -188,6 +188,10 @@ GameController::~GameController()
{
delete localBrowser;
}
+ if (options)
+ {
+ delete options;
+ }
if(ui::Engine::Ref().GetWindow() == gameView)
{
ui::Engine::Ref().CloseWindow();