Update server_handleSafeGear.sqf

This commit is contained in:
oiad
2017-08-19 20:28:46 +12:00
committed by GitHub
parent 367d74f3f4
commit 403e40063f

View File

@@ -121,7 +121,7 @@ _fnc_lockCode = {
if (_this == "") exitWith {0}; if (_this == "") exitWith {0};
_code = if (typeName _this == "STRING") then {parseNumber _this} else {_this}; _code = if (typeName _this == "STRING") then {parseNumber _this} else {_this};
if (_code < 10000) exitWith {0}; if (_code < 10000 || {_code > 10299}) exitWith {0};
_color = ""; _color = "";
_code = _code - 10000; _code = _code - 10000;