diff --git a/addons/ai/stringtable.xml b/addons/ai/stringtable.xml index 9b4411257..3934e93d6 100644 --- a/addons/ai/stringtable.xml +++ b/addons/ai/stringtable.xml @@ -28,10 +28,12 @@ Invisible Target Vehicle Unsichtbares Ziel - Fahrzeug + VĂ©hicule cible invisible Invisible Target Airplane Unsichtbares Ziel - Flugzeug + Avion cible invisible diff --git a/addons/statemachine/script_component.hpp b/addons/statemachine/script_component.hpp index bb3c66eba..159e27563 100644 --- a/addons/statemachine/script_component.hpp +++ b/addons/statemachine/script_component.hpp @@ -20,7 +20,7 @@ #define ONSTATEENTERED(var) (var + "_onStateEntered") #define ONSTATELEAVING(var) (var + "_onStateLeaving") #define GET_FUNCTION(var,cfg) private var = getText (cfg); \ - if (isNil var) then { \ + if (isNil var || {!((missionNamespace getVariable var) isEqualType {})}) then { \ var = compile var; \ } else { \ var = missionNamespace getVariable var;\