mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Cursortarget - More accurate check for Explosives
This commit is contained in:
parent
2ef6790a8f
commit
a6b7eb94b4
@ -33,6 +33,9 @@ if (underwater player) then {
|
||||
if (_ins isEqualTo []) exitWith { objNull };
|
||||
(_ins select 0 param [3,objNull])
|
||||
} else {
|
||||
if (player distance cursorobject < 3.5 && {!((gettext (configfile >> "cfgammo" >> (typeof cursorobject) >> "defaultMagazine")) isEqualTo "")}) exitwith {
|
||||
cursorobject
|
||||
};
|
||||
if (!isnull cursorTarget) then {
|
||||
cursorTarget
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user