Teh-Dango / Sarge-AI

Dynamic AI System for Arma 3
GNU General Public License v2.0
12 stars 6 forks source link

Typo in prod branche #7

Closed obermaig closed 6 years ago

obermaig commented 6 years ago

The latest version of sarge-ai system have a typo in sarge\init\fn_postinit.sqf, Line 37:

HERE---> _modConfigs= toLower (isClass (configFile >> "CfgMods" >> _x)); i have no Idea, how to get a CfgMods in toLower Format, but in this Line that is unfortunately not correct... Should be:
_modConfigs =isClass (configFile >> "CfgMods" >> _x);

otherwise you will get errors in RPT and System dont works: 10:05:23 Error position: <toLower (isClass (configFile >> "CfgMods> 10:05:23 Error tolower: Type Bool, expected String 10:05:23 File addons\sarge\init\fn_postInit.sqf, line 37

Greeting Ober

Teh-Dango commented 6 years ago

Ok I will take a look and see what needs to be fixed.

Teh-Dango commented 6 years ago

Very good eye. I have changed it to what I thought I did the first time lol. This push should fix the typo.

Teh-Dango commented 6 years ago

@obermaig I will mark this closed since I fixed the typo but if you see something else related to this please let me know.