-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize CBA_fnc_getActiveFeatureCamera
- Loading branch information
1 parent
99f32e7
commit 9e07b1c
Showing
3 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,7 @@ if (_callback isEqualTo false) exitWith { | |
false | ||
}; | ||
|
||
(GVAR(featureCameras) pushBackUnique _this) != -1 // return | ||
GVAR(featureCamerasNames) pushBack _name; | ||
GVAR(featureCamerasCode) pushBack _callback; | ||
This comment has been minimized.
Sorry, something went wrong.
jonpas
Member
|
||
|
||
true |
Would prefer to leave none as
""
, easier and shorter to check in user's code.