]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/common.qc
Tidy up classnames
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / common.qc
index 2d12f986bfe4be8e0b940cc6df9dd7521b66f5cc..e4299039e3da1e8ee2774a559721ed6be70c6580 100644 (file)
@@ -752,7 +752,7 @@ void CommonCommand_timeout(int request, entity caller)  // DEAR GOD THIS COMMAND
                                        timeout_time = autocvar_sv_timeout_length;
                                        timeout_leadtime = autocvar_sv_timeout_leadtime;
 
-                                       timeout_handler = spawn();
+                                       timeout_handler = new(timeout_handler);
                                        setthink(timeout_handler, timeout_handler_think);
                                        timeout_handler.nextthink = time;  // always let the entity think asap