Reduced XGUI's refresh cooldown timer to 10 seconds instead of 30, since XGUI does not send as much data as it used to.

This commit is contained in:
SticklyMan 2015-05-25 14:25:45 -06:00
parent 0dc4dc547d
commit 1414d9a28a

View File

@ -83,7 +83,7 @@ databutton.DoClick=function( self )
if xgui.isInstalled then --We can't be in offline mode to do this
self:SetDisabled( true )
RunConsoleCommand( "xgui", "refreshdata" )
timer.Simple( 30, function() self:SetDisabled( false ) end )
timer.Simple( 10, function() self:SetDisabled( false ) end )
end
end
end