Skip to content

Commit

Permalink
Add brackets to timer time override.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Cole committed Apr 24, 2024
1 parent 41b4421 commit 8938b7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion YSI_Coding/y_timers/y_timers_tests.inc
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ new Timer:YSI_g_sKillYourself;

@test(.group = "y_timers") TimeOverride()
{
new Timer:t = defer TimeOverride[50]();
new time = 10;
new Timer:t = defer TimeOverride[_:time * 50]();
#pragma unused t
}

0 comments on commit 8938b7e

Please sign in to comment.