1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed Halloween in the main menu

This commit is contained in:
Zeno Rogue 2017-10-25 23:21:13 +02:00
parent 77f59648f0
commit 0c2870136e
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -263,7 +263,7 @@ hint hints[] = {
{
0,
[]() { return showHalloween(); },
[]() { return !canmove && showHalloween(); },
[]() {
dialog::addItem(XLAT("Halloween mini-game"), 'z');
},