From 0c2870136e45ad68ee6a6a0cf0c05a48cdfc4745 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 25 Oct 2017 23:21:13 +0200 Subject: [PATCH] fixed Halloween in the main menu --- menus.cpp | 1 - quit.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/menus.cpp b/menus.cpp index 77766159..4feddfe0 100644 --- a/menus.cpp +++ b/menus.cpp @@ -664,7 +664,6 @@ void showEuclideanMenu() { bool showstartmenu; bool showHalloween() { - if(canmove) return false; time_t t = time(NULL); struct tm tm = *localtime(&t); int month = tm.tm_mon + 1; diff --git a/quit.cpp b/quit.cpp index fa623df2..5f18e839 100644 --- a/quit.cpp +++ b/quit.cpp @@ -263,7 +263,7 @@ hint hints[] = { { 0, - []() { return showHalloween(); }, + []() { return !canmove && showHalloween(); }, []() { dialog::addItem(XLAT("Halloween mini-game"), 'z'); },