diff options
Diffstat (limited to 'gamemode/core/pac/cl_pac.lua')
| -rw-r--r-- | gamemode/core/pac/cl_pac.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gamemode/core/pac/cl_pac.lua b/gamemode/core/pac/cl_pac.lua index 4f1890c..7e149ae 100644 --- a/gamemode/core/pac/cl_pac.lua +++ b/gamemode/core/pac/cl_pac.lua @@ -40,9 +40,11 @@ local function loadpac(ent,name,hash) assert(ent.AttachPACPart ~= nil,"Failed to set up ent",ent) end if filetext and (tonumber(util.CRC(filetext)) == hash) then + print("The file on our local system is up to date, applying!") local pactbl = CompileString(string.format("return {%s}",filetext),name)() ent:AttachPACPart(pactbl) else--Cache is old, download the new pac! + print("The file on our local system was out of date! Downloading...") net.Start("artery_requestpac") net.WriteString(name) net.SendToServer() |
