From: Mario Date: Sun, 5 Feb 2017 20:30:51 +0000 (+1000) Subject: Add a console message when the map is changed X-Git-Tag: xonotic-v0.8.2~242 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=46e63c0c71dde9e124236a2994c538ea88ac6e9e;p=xonotic%2Fxonotic-data.pk3dir.git Add a console message when the map is changed --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 73cad8a54..92ed2b9f1 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -1193,6 +1193,8 @@ void MapInfo_LoadMap(string s, float reinit) // MapInfo_SwitchGameType(MAPINFO_TYPE_DEATHMATCH.m_flags); //} + LOG_INFO("Switching to map ", s, "\n"); + cvar_settemp_restore(); if(reinit) localcmd(strcat("\nmap ", s, "\n"));