From 754ae1c4adc89db16e25d142ebcb22e46732cfa8 Mon Sep 17 00:00:00 2001 From: A Man Date: Sat, 21 May 2022 10:48:12 +0200 Subject: [PATCH] Update fn_getModelName.sqf Made by @Victor-the-Cleaner --- SQF/dayz_code/compile/fn_getModelName.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_getModelName.sqf b/SQF/dayz_code/compile/fn_getModelName.sqf index 5b2faf2b6..03456328b 100644 --- a/SQF/dayz_code/compile/fn_getModelName.sqf +++ b/SQF/dayz_code/compile/fn_getModelName.sqf @@ -1,6 +1,6 @@ local _model = ""; -if (!isNull _this) then { +if (!isNull _this && {!(_this isKindOf "Man")}) then { local _array = toArray (str _this); local _begin = (_array find 58) + 2; // ": " local _end = (_array find 46) + 3; // ".p3d"