diff --git a/VScript-:-Basic-Entity-Code-Tutorial.md b/VScript-:-Basic-Entity-Code-Tutorial.md index f9aafe7..312bfc5 100644 --- a/VScript-:-Basic-Entity-Code-Tutorial.md +++ b/VScript-:-Basic-Entity-Code-Tutorial.md @@ -209,7 +209,7 @@ function SetPlayerHealthToAllOfNPC() { local health = 0 - local wyatt + local wyatt = null while((wyatt = Entities.FindByName(wyatt,"wyatt")) != null) { health += wyatt.GetHealth()