forked from TeamUlysses/ulx
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:
parent
0dc4dc547d
commit
1414d9a28a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user