mirror of
https://github.com/sethduda/AdvancedTowing.git
synced 2024-08-30 17:32:12 +00:00
Adding restriction to global hide function (#22)
Adding restriction that only objects of type Land_Can_V2_F can be hidden via the SA_Hide_Object_Global function. fixes #17
This commit is contained in:
parent
89cd91233d
commit
c001b01967
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user