fix Typo issue

This commit is contained in:
Joko 2015-08-14 18:42:22 +02:00
parent c4ed18f39f
commit ec5a1f038a

View File

@ -13,7 +13,8 @@
#include "script_component.hpp"
params ["_item", "_config"];
private "_config";
params ["_item"];
_config = (configFile >> "CfgVehicles" >> typeof _item >> QGVAR(size));
if (isNumber (_config)) exitwith {
_item getvariable [QGVAR(size), getNumber (_config)];