diff options
Diffstat (limited to 'gamemode/npcsystem/npcs/zombie.lua')
| -rw-r--r-- | gamemode/npcsystem/npcs/zombie.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gamemode/npcsystem/npcs/zombie.lua b/gamemode/npcsystem/npcs/zombie.lua index 7c598fd..216ca43 100644 --- a/gamemode/npcsystem/npcs/zombie.lua +++ b/gamemode/npcsystem/npcs/zombie.lua @@ -89,7 +89,9 @@ function NPC:AttackPriority(ply) end
--A function that takes a position and returns true if this is an acceptable place to spawn
-NPC.SpawnLocations = nil
+function NPC:SpawnLocations(pos)
+ return true
+end
--The entity that is this npc's current target, if it has one. Nil otherwise
NPC.Target = nil
|
