]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/vote.qc
Use think accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / vote.qc
index c07d570485d27078385e421bb6b16aa9ac1aa5f2..15d27a3ee4dabc3528a769062d32be456c13ceb2 100644 (file)
@@ -439,7 +439,7 @@ void ReadyRestart_force()
        if (autocvar_sv_ready_restart_after_countdown)
        {
                entity restart_timer = new_pure(restart_timer);
-               restart_timer.think = ReadyRestart_think;
+               setthink(restart_timer, ReadyRestart_think);
                restart_timer.nextthink = game_starttime;
        }