mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added some sanity checks to the module setting initialization
This commit is contained in:
parent
6b44a3f3f9
commit
c8aa3032fe
@ -31,3 +31,5 @@ if !(_activated) exitWith {};
|
|||||||
[_logic, QGVAR(alwaysSimulateForSnipers), "alwaysSimulateForSnipers"] call EFUNC(common,readSettingFromModule);
|
[_logic, QGVAR(alwaysSimulateForSnipers), "alwaysSimulateForSnipers"] call EFUNC(common,readSettingFromModule);
|
||||||
[_logic, QGVAR(simulationInterval), "simulationInterval"] call EFUNC(common,readSettingFromModule);
|
[_logic, QGVAR(simulationInterval), "simulationInterval"] call EFUNC(common,readSettingFromModule);
|
||||||
[_logic, QGVAR(simulationRadius), "simulationRadius"] call EFUNC(common,readSettingFromModule);
|
[_logic, QGVAR(simulationRadius), "simulationRadius"] call EFUNC(common,readSettingFromModule);
|
||||||
|
|
||||||
|
GVAR(simulationInterval) = 0 max GVAR(simulationInterval) min 0.2;
|
||||||
|
@ -24,3 +24,5 @@ if !(_activated) exitWith {};
|
|||||||
|
|
||||||
[_logic, QGVAR(simulationInterval), "simulationInterval"] call EFUNC(common,readSettingFromModule);
|
[_logic, QGVAR(simulationInterval), "simulationInterval"] call EFUNC(common,readSettingFromModule);
|
||||||
[_logic, QGVAR(simulationRadius), "simulationRadius"] call EFUNC(common,readSettingFromModule);
|
[_logic, QGVAR(simulationRadius), "simulationRadius"] call EFUNC(common,readSettingFromModule);
|
||||||
|
|
||||||
|
GVAR(simulationInterval) = 0 max GVAR(simulationInterval) min 0.2;
|
||||||
|
Loading…
Reference in New Issue
Block a user