From 8938b7e95d28eda0c54ff463b5f9912ba0cebe8c Mon Sep 17 00:00:00 2001 From: Alex Cole Date: Wed, 24 Apr 2024 02:26:42 +0200 Subject: [PATCH] Add brackets to timer time override. --- YSI_Coding/y_timers/y_timers_tests.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/YSI_Coding/y_timers/y_timers_tests.inc b/YSI_Coding/y_timers/y_timers_tests.inc index 0ff46b18..c2b221bd 100644 --- a/YSI_Coding/y_timers/y_timers_tests.inc +++ b/YSI_Coding/y_timers/y_timers_tests.inc @@ -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 }