From e3cef312460eda7cc7478f122148822d5f5e9747 Mon Sep 17 00:00:00 2001 From: jenz Date: Sat, 11 Jul 2026 23:21:35 +0200 Subject: [PATCH] changed entity class name --- RaceTimer/scripting/unloze_racetimer_specialmaps.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaceTimer/scripting/unloze_racetimer_specialmaps.sp b/RaceTimer/scripting/unloze_racetimer_specialmaps.sp index 6a00d19..25ffda2 100644 --- a/RaceTimer/scripting/unloze_racetimer_specialmaps.sp +++ b/RaceTimer/scripting/unloze_racetimer_specialmaps.sp @@ -42,7 +42,7 @@ public int Native_Isspecialmap(Handle handler, int numParams) //---------------------------------------------------------------------------------------------------- public int GetCurrentStage() { - int iLevelCounterEnt = FindEntityByTargetname(INVALID_ENT_REFERENCE, "LevelCounter", "math_counter"); + int iLevelCounterEnt = FindEntityByTargetname(INVALID_ENT_REFERENCE, "LevelCounter", "info_target"); if (iLevelCounterEnt == -1) return 0; int offset = FindDataMapInfo(iLevelCounterEnt, "m_OutValue");