Skip to content

Commit

Permalink
Fix Maps With Crazy Default TimeDilation Values
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Sep 18, 2024
1 parent a35a7b0 commit 0e78d62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion USrc/MutVoteSys.uc
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ event PostBeginPlay() {

ApplyVotedPreset();

SetTimer(Level.TimeDilation, true);
SetTimer(0.5, true);
LoadConfig();
LoadHistory();
Info = Spawn(class'VS_Info', self);
Expand Down Expand Up @@ -386,6 +386,11 @@ event Timer() {
case GS_Travelling:
break;
}

if (TimerRate != Level.TimeDilation) {
Log("TimeDilation has changed to"@Level.TimeDilation, 'VoteSys');
SetTimer(Level.TimeDilation, true);
}
}

function CheckIdleTimeout() {
Expand Down

0 comments on commit 0e78d62

Please sign in to comment.