mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixes to ACRE volume, and this transform should really be in set/get global volume. Closes #588
This commit is contained in:
@ -27,8 +27,8 @@ if (_setVolume) then {
|
||||
player setVariable ["tf_unable_to_use_radio", false];
|
||||
|
||||
// ACRE2
|
||||
[NORMAL_LEVEL] call acre_api_fnc_setGlobalVolume;
|
||||
player setVariable ["acre_sys_core_isDisabled", false, true];
|
||||
if (!isNil "acre_api_fnc_setGlobalVolume") then { [NORMAL_LEVEL^0.33] call acre_api_fnc_setGlobalVolume; };
|
||||
player setVariable ["acre_sys_core_isDisabled", false, true];
|
||||
|
||||
} else {
|
||||
// Vanilla Game
|
||||
@ -40,7 +40,7 @@ if (_setVolume) then {
|
||||
player setVariable ["tf_unable_to_use_radio", true];
|
||||
|
||||
// ACRE2
|
||||
[MUTED_LEVEL] call acre_api_fnc_setGlobalVolume;
|
||||
if (!isNil "acre_api_fnc_setGlobalVolume") then { [MUTED_LEVEL^0.33] call acre_api_fnc_setGlobalVolume; };
|
||||
player setVariable ["acre_sys_core_isDisabled", true, true];
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user