diff --git a/BossHP/scripting/BossHP.sp b/BossHP/scripting/BossHP.sp index c6a11c67..5522c4bd 100644 --- a/BossHP/scripting/BossHP.sp +++ b/BossHP/scripting/BossHP.sp @@ -482,7 +482,7 @@ public void OnEntitySpawned(int entity, const char[] classname) { CBoss _Boss = g_aBoss.Get(j); - if(Boss.dConfig != Config) + if(_Boss.dConfig != Config) continue; Boss = _Boss;