From a0c85e5a600ace1ecadbbd0ca123400c029e5511 Mon Sep 17 00:00:00 2001 From: b-mayr-1984 Date: Sat, 6 Jul 2024 17:27:58 +0200 Subject: [PATCH] fix versionCheck for AdvDevTools fix #211 --- addons/versionCheck/functions/fn_createDiaryEntry.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/versionCheck/functions/fn_createDiaryEntry.sqf b/addons/versionCheck/functions/fn_createDiaryEntry.sqf index 0eb204a..b4a3a8a 100644 --- a/addons/versionCheck/functions/fn_createDiaryEntry.sqf +++ b/addons/versionCheck/functions/fn_createDiaryEntry.sqf @@ -6,7 +6,7 @@ ISNILS(GVAR(versionlen), 10); ISNILS(GVAR(maxLines), 2000); // max lines would be 3121 total minus 2 for header private _pad = { - params ["_str", "_targetLen", "_overflowChar"]; + params [["_str", "wrong_type", ["string"]], "_targetLen", "_overflowChar"]; private _strLen = count _str; if (_strLen > _targetLen) exitWith {