]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a console message when the map is changed
authorMario <mario@smbclan.net>
Sun, 5 Feb 2017 20:30:51 +0000 (06:30 +1000)
committerMario <mario@smbclan.net>
Sun, 5 Feb 2017 20:30:51 +0000 (06:30 +1000)
qcsrc/common/mapinfo.qc

index 73cad8a545642b4bd6168c551f4ab120f7434582..92ed2b9f112d9527936c6339cec6c81c9434d675 100644 (file)
@@ -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"));