diff options
Diffstat (limited to 'src/game/GameController.cpp')
| -rw-r--r-- | src/game/GameController.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp index 7e5d930..e39b47b 100644 --- a/src/game/GameController.cpp +++ b/src/game/GameController.cpp @@ -587,7 +587,8 @@ void GameController::SetActiveTool(int toolSelection, Tool * tool) void GameController::OpenSearch() { - search = new SearchController(new SearchCallback(this)); + if(!search) + search = new SearchController(new SearchCallback(this)); ui::Engine::Ref().ShowWindow(search->GetView()); } |
