Allow string input for isBackpack

This commit is contained in:
jonpas 2016-03-05 14:29:04 +01:00
parent fc54b1180c
commit b37b1a39b2

View File

@ -12,7 +12,7 @@
*/ */
#include "script_component.hpp" #include "script_component.hpp"
params [["_backpack", objNull, [objNull]]]; params [["_backpack", objNull, [objNull, ""]]];
if (_backpack isEqualType objNull) then { if (_backpack isEqualType objNull) then {
_backpack = typeOf _backpack; _backpack = typeOf _backpack;