aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/pac
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/pac')
-rw-r--r--gamemode/core/pac/sv_pac.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/gamemode/core/pac/sv_pac.lua b/gamemode/core/pac/sv_pac.lua
index 5a82607..3c5c6be 100644
--- a/gamemode/core/pac/sv_pac.lua
+++ b/gamemode/core/pac/sv_pac.lua
@@ -64,6 +64,7 @@ loadhashes()
local appliedpacs = {}
function p3.ApplyPac(what, name)
+ print("Applying pac", what, "to",name)
appliedpacs[what] = appliedpacs[what] or {}
appliedpacs[what][name] = pachashes[name]
net.Start("artery_applypac")
@@ -74,6 +75,7 @@ function p3.ApplyPac(what, name)
end
function p3.RemovePac(what, name)
+ print("Removeing pac",what,"from",name)
assert(appliedpacs[what][name],"Attempted to remove a pac that an entity is not wearing!")
appliedpacs[what][name] = nil
if #appliedpacs[what] == 0 then