Fix segfault when exiting game with automap open

This commit is contained in:
Gustaf Alhäll 2023-07-08 14:02:32 +02:00
parent d7a84b967c
commit 281e6012f3
No known key found for this signature in database
GPG key ID: 6C1F67D690CDEDFD

View file

@ -4609,6 +4609,7 @@ void Command_ExitGame_f(void)
botskin = 0;
cv_debug = 0;
emeralds = 0;
automapactive = false;
memset(&luabanks, 0, sizeof(luabanks));
if (dirmenu)