mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add check for empty _ropeClass
Co-Authored-By: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
parent
2dcbf2ba26
commit
e2725e52ec
@ -34,7 +34,7 @@ if (_ropeLength <= 0) then {
|
||||
|
||||
TRACE_3("",_ropeClass,_ropeLength,GVAR(requireRopeItems));
|
||||
|
||||
if (GVAR(requireRopeItems)) then {
|
||||
if (GVAR(requireRopeItems) && {_ropeClass != ""}) then {
|
||||
if (_ropeClass in (_player call EFUNC(common,uniqueItems))) then {
|
||||
_player removeItem _ropeClass;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user