]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Make cl_eventchase_spectated_change last 1 second instead of 0.5s; allow customizing...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index 126815cc1c3f17845a552315cc0a501543f5e6dd..b72998de6c42eb0e9a56372e00ee5f027f92f8b2 100644 (file)
@@ -831,7 +831,7 @@ int WantEventchase(entity this)
                }
                if (spectatee_status > 0 && autocvar_cl_eventchase_spectated_change)
                {
-                       if (time <= spectatee_status_changed_time + 0.5)
+                       if (time <= spectatee_status_changed_time + min(3, autocvar_cl_eventchase_spectated_change_time))
                                return 1;
                        else if (eventchase_running)
                                return -1; // disable chase_active while eventchase is still enabled so to avoid a glicth