Skip to content

Commit

Permalink
Merge pull request #309 from GMLambda/opsie
Browse files Browse the repository at this point in the history
Fix a small fuckup
  • Loading branch information
ZehMatt authored Jul 20, 2024
2 parents fec5cbb + 1294f16 commit a1d20b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions entities/entities/lambda_npcmaker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ function ENT:Initialize()
BaseClass.Initialize(self)
self:SetSolid(SOLID_NONE)
if self:GetNWVar("Disabled") == false then
self:Disable()
else
self:Enable()
else
self:Disable()
end
end

Expand Down Expand Up @@ -409,6 +409,7 @@ function ENT:DeathNotice(ent)
if self:GetNWVar("SpawnFrequency") == -1 then
-- Allow it to spawn again.
self.NextSpawnTime = CurTime()
self:NextThink(self.NextSpawnTime)
end

if self:GetNWVar("LiveChildren") <= 0 then
Expand Down

0 comments on commit a1d20b3

Please sign in to comment.