From 497be6ff15989c7bf9de5beb138d2ef042dca6bd Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 9 Sep 2017 12:48:29 -0400 Subject: Improved data loader Data loader now uses coroutines so that it probably won't crash clients. --- gamemode/core/dataloader/cl_loadglobals.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'gamemode/core/dataloader/cl_loadglobals.lua') diff --git a/gamemode/core/dataloader/cl_loadglobals.lua b/gamemode/core/dataloader/cl_loadglobals.lua index 919ecb5..2cf770c 100644 --- a/gamemode/core/dataloader/cl_loadglobals.lua +++ b/gamemode/core/dataloader/cl_loadglobals.lua @@ -20,6 +20,7 @@ net.Receive("artery_loadfile",function() end local thash = tonumber(util.CRC(cache)) if hash != thash then + print("I need to load a file",filename," but my hash was old, redownloading!") net.Start("artery_requestcsfile") net.WriteString(filename) net.SendToServer() -- cgit v1.2.3-70-g09d2