mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- respect the user's mod-wide "enabled" setting when changing profiles (ticket #117)
- also cleaned up some logic that could cause errors when enabling the mod due to a profile switch when the player initially loaded with it disabled
This commit is contained in:
@ -781,6 +781,10 @@ function IceCore.prototype:IsInConfigMode()
|
||||
end
|
||||
|
||||
function IceCore.prototype:ConfigModeToggle(bWantConfig)
|
||||
if self.bConfigMode == bWantConfig then
|
||||
return
|
||||
end
|
||||
|
||||
self.bConfigMode = bWantConfig
|
||||
|
||||
if bWantConfig then
|
||||
|
Reference in New Issue
Block a user