changed entity class name

This commit is contained in:
jenz 2026-07-11 23:21:35 +02:00
parent 2136135beb
commit e3cef31246

View File

@ -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");