Skip to content

Commit

Permalink
fix: higher interval for join
Browse files Browse the repository at this point in the history
  • Loading branch information
derkalle4 committed Nov 12, 2024
1 parent 4944e67 commit 3f703ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MapModifiers+SpectatorOnJoin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ private HookResult SpectatorOnJoinOnPlayerActivate(EventPlayerActivate @event, G
{
if (mapConfig.MovetoSpectatorOnJoin)
{
AddTimer(0.3f, () =>
AddTimer(1.0f, () =>
{
Console.WriteLine($"Moving {player.PlayerName} to spectator team");
player.ChangeTeam(CsTeam.Spectator);
});
}
Expand Down

0 comments on commit 3f703ea

Please sign in to comment.