diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-17 13:38:38 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-17 13:38:38 -0400 |
| commit | 77b2974db2a719fbc92734cc88df73b1f1c41b0a (patch) | |
| tree | ed54956006b8c37229ba5c0d86a0d3626f1928ad /gamemode/core/pac | |
| parent | 0916a769c3fea30887dd90237d17095b456a7a9e (diff) | |
| download | artery-77b2974db2a719fbc92734cc88df73b1f1c41b0a.tar.gz artery-77b2974db2a719fbc92734cc88df73b1f1c41b0a.tar.bz2 artery-77b2974db2a719fbc92734cc88df73b1f1c41b0a.zip | |
Fixed recording weapon swings
Diffstat (limited to 'gamemode/core/pac')
| -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() |
