Raox2 / sunrust-issues

A place for bugs and the like.
2 stars 0 forks source link

[ZS] pointless creation of dummy_chemzombie #33

Closed ghost closed 6 years ago

ghost commented 6 years ago

Chem Zombie L76-80

    hook.Add("InitPostEntityMap", "MakeChemDummy", function()
        DUMMY_CHEMZOMBIE = ents.Create("dummy_chemzombie")
        if DUMMY_CHEMZOMBIE:IsValid() then
            DUMMY_CHEMZOMBIE:Spawn()
        end

Just realized what it's for. Even though the class is unused, that code is still ran.

Raox2 commented 6 years ago

If Chem Zombie comes back, there will be new code to replace it...but ultra low priority.