mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
geiger: remove unused fnc, reduce tick volume by half.
This commit is contained in:
parent
6826cd6ad9
commit
31401b5b39
@ -1,11 +1,5 @@
|
|||||||
disableSerialization;
|
disableSerialization;
|
||||||
_rads = param [0,0,[0]];
|
_rads = param [0,0,[0]];
|
||||||
_play = {
|
|
||||||
if (!EPOCH_geiger_mute_counter) then {
|
|
||||||
playSound "geiger_epoch_tick";
|
|
||||||
playSound "geiger_epoch_tick"; //makes geiger louder, remove if affects performance
|
|
||||||
};
|
|
||||||
};
|
|
||||||
_lcd = uiNamespace getVariable ["EPOCH_geiger_LCD",controlNull];
|
_lcd = uiNamespace getVariable ["EPOCH_geiger_LCD",controlNull];
|
||||||
_led = uiNamespace getVariable ["EPOCH_geiger_LED",controlNull];
|
_led = uiNamespace getVariable ["EPOCH_geiger_LED",controlNull];
|
||||||
|
|
||||||
@ -31,7 +25,7 @@ if (_rads >= 10) then {
|
|||||||
for "_i" from 1 to (ceil _rads) do {
|
for "_i" from 1 to (ceil _rads) do {
|
||||||
if (!EPOCH_geiger_mute_counter) then {
|
if (!EPOCH_geiger_mute_counter) then {
|
||||||
playSound "geiger_epoch_tick";
|
playSound "geiger_epoch_tick";
|
||||||
playSound "geiger_epoch_tick"; //makes geiger louder, remove if affects performance
|
//playSound "geiger_epoch_tick"; //makes geiger louder, remove if affects performance
|
||||||
};
|
};
|
||||||
_led ctrlSetText "x\addons\a3_epoch_assets_1\pictures\geiger\geiger_4on";
|
_led ctrlSetText "x\addons\a3_epoch_assets_1\pictures\geiger\geiger_4on";
|
||||||
uiSleep (random 0.5);
|
uiSleep (random 0.5);
|
||||||
|
Loading…
Reference in New Issue
Block a user