mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
disable laserpointer inheritance for rhs
This commit is contained in:
parent
53360ff0a7
commit
b57f731dd0
@ -29,11 +29,17 @@ _pointer = switch (_weapon) do {
|
||||
|
||||
if (_pointer == "") exitWith {};
|
||||
|
||||
private "_config";
|
||||
_config = configFile >> "CfgWeapons" >> _pointer;
|
||||
|
||||
private "_nextPointer";
|
||||
_nextPointer = getText (configFile >> "CfgWeapons" >> _pointer >> "ACE_nextModeClass");
|
||||
_nextPointer = getText (_config >> "ACE_nextModeClass");
|
||||
|
||||
if (_nextPointer == "") exitWith {};
|
||||
|
||||
// disable inheritance for this entry, because addons claim this as a base class for convenience
|
||||
if !((_config >> "ACE_nextModeClass") in configProperties [_config, "true", false]) exitWith {};
|
||||
|
||||
private ["_description", "_picture"];
|
||||
|
||||
_description = getText (configFile >> "CfgWeapons" >> _nextPointer >> "ACE_modeDescription");
|
||||
|
Loading…
Reference in New Issue
Block a user