Skip to content

Commit

Permalink
Fix syntax errors from optimization changes
Browse files Browse the repository at this point in the history
  • Loading branch information
theace0296 committed Sep 22, 2021
1 parent cb7041e commit 08f9a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RandFramework/Client/init/fn_findValidHQPosition.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (TRGM_VAR_AdminPlayer isEqualTo player) then {
while {true} do {
if (TRGM_VAR_MapClicked isEqualTo 1) then { // player has clicked the map
private _foundPickupPos = [TRGM_VAR_ClickedPos, 0,50,25,0,0.15,0,[],[[0,0,0],[0,0,0]]] call TRGM_GLOBAL_fnc_findSafePos; // find a valid pos
_private nearRoad = [_foundPickupPos,20] call BIS_fnc_nearestRoad;
private _nearRoad = [_foundPickupPos,20] call BIS_fnc_nearestRoad;
if ((!isNull _nearRoad) || ((0 isEqualTo (_foundPickupPos select 0)) && (0 isEqualTo (_foundPickupPos select 1))) || (TRGM_VAR_ClickedPos isEqualTo _foundPickupPos)) then {
// INVALID POS
TRGM_VAR_MapClicked = false;
Expand Down
2 changes: 1 addition & 1 deletion RandFramework/Client/init/fn_missionSelectLoop.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ while {!TRGM_VAR_bAndSoItBegins} do {
} else {
if (!isPlayer sl && !isNull TRGM_VAR_AdminPlayer) then {
private _txt5Layer = "txt5" call BIS_fnc_rscLayer;
private = "<t font ='EtelkaMonospaceProBold' align = 'center' size='0.8' color='#Ffffff'>" + localize "STR_TRGM2_TRGMInitPlayerLocal_TopSlotMustPlayer" + "</t>";
private _texta = "<t font ='EtelkaMonospaceProBold' align = 'center' size='0.8' color='#Ffffff'>" + localize "STR_TRGM2_TRGMInitPlayerLocal_TopSlotMustPlayer" + "</t>";
[_texta, -0, 0.150, 7, 1,0,_txt5Layer] spawn BIS_fnc_dynamicText;
} else {
private _txt1Layer = "txt1" call BIS_fnc_rscLayer;
Expand Down

0 comments on commit 08f9a12

Please sign in to comment.