Skip to content

Commit

Permalink
DataStreaming issue fix attempt #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Duck committed Jan 13, 2015
1 parent 7088339 commit 0a3dd38
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Clockwork/garrysmod/gamemodes/clockwork/framework/sh_boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@ Clockwork.kernel:IncludeDirectory("system/", true);
Clockwork.kernel:IncludeDirectory("items/", true);
Clockwork.kernel:IncludeDirectory("derma/", true);

if (CLIENT) then
timer.Create("DataStreamingInit", 1, 0, function()
if (Clockwork.Client) then
if (!Clockwork.Client:HasInitialized()) then
Clockwork.datastream:Start("DataStreamInfoSent", true);
else
timer.Destroy("DataStreamingInit");
end;
end;
end);
end;

--[[ The following code is loaded by CloudAuthX. --]]
if (SERVER) then include("sv_cloudax.lua"); end;

Expand Down

0 comments on commit 0a3dd38

Please # to comment.