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 {