Adding restriction to global hide function ()

Adding restriction that only objects of type Land_Can_V2_F can be hidden via the SA_Hide_Object_Global function. fixes 
This commit is contained in:
sethduda 2016-04-08 18:57:12 -04:00
parent 89cd91233d
commit c001b01967

View File

@ -669,7 +669,9 @@ SA_Hint = {
SA_Hide_Object_Global = {
params ["_obj"];
hideObjectGlobal _obj;
if( _obj isKindOf "Land_Can_V2_F" ) then {
hideObjectGlobal _obj;
};
};
SA_Set_Owner = {