]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_world.qc
Allow vcall timein during a timeout, and reset slowmo if SVQC shuts down during a...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qc
index 0e9f7fa661530e085899da83540b24f9e3065d34..67049e73b24261fee11aacd7e1a66791496d2bd7 100644 (file)
@@ -2213,6 +2213,11 @@ void Shutdown()
        if(world_initialized > 0)
        {
                world_initialized = 0;
+
+               // if a timeout is active, reset the slowmo value to normal
+               if(timeout_status == TIMEOUT_ACTIVE)
+                       cvar_set("slowmo", ftos(orig_slowmo));
+
                LOG_TRACE("Saving persistent data...");
                Ban_SaveBans();