We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c69ce7 commit 11a2139Copy full SHA for 11a2139
src/ST-Events/Tick.cs
@@ -5,11 +5,18 @@ namespace SurfTimer;
5
6
public partial class SurfTimer
7
{
8
- public static void OnTick()
+ public void OnTick()
9
10
if (CurrentMap == null)
11
return;
12
13
+ foreach (var player in playerList.Values)
14
+ {
15
+ player.Timer.Tick();
16
+ player.ReplayRecorder.Tick(player);
17
+ player.HUD.Display();
18
+ }
19
+
20
// Need to disable maps from executing their cfgs. Currently idk how (But seriusly it a security issue)
21
ConVar? bot_quota = ConVar.Find("bot_quota");
22
0 commit comments