mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Call updateHearingProtection at settings init
This commit is contained in:
parent
649b0c28e2
commit
930c2f84c6
@ -36,4 +36,6 @@ GVAR(damageCoefficent) = 1;
|
|||||||
//Update protection on possible helmet change
|
//Update protection on possible helmet change
|
||||||
["playerInventoryChanged", {[] call FUNC(updateHearingProtection);}] call EFUNC(common,addEventhandler);
|
["playerInventoryChanged", {[] call FUNC(updateHearingProtection);}] call EFUNC(common,addEventhandler);
|
||||||
|
|
||||||
|
//Update hearing protection now:
|
||||||
|
[] call FUNC(updateHearingProtection);
|
||||||
}] call EFUNC(common,addEventHandler);
|
}] call EFUNC(common,addEventHandler);
|
||||||
|
Loading…
Reference in New Issue
Block a user