Skip to content

Commit e9e2760

Browse files
committed
tweaks
1 parent f23e313 commit e9e2760

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

addons/overthrow_main/functions/factions/fn_factionCRIM.sqf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ while {sleep 10;true} do {
1010
_civid = _x;
1111
if(count _civ == 0) then {
1212
//Civ has died, welp, generate a replacement
13-
player globalchat format["replacing civ %1",_civid];
1413
_cash = round(random 200);
1514
_civ = [call OT_fnc_randomLocalIdentity,true,_cash,-1];
1615
OT_civilians setVariable [format["%1",_civid],_civ,true];

addons/overthrow_main/functions/player/fn_mapSystem.sqf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ _handler = {
230230
_pos,
231231
0.3/ctrlMapScale (_this select 0),
232232
0.3/ctrlMapScale (_this select 0),
233-
""
233+
0
234234
];
235235
};
236236
}foreach(player getvariable ["owned",[]]);

addons/overthrow_main/functions/player/fn_wantedSystem.sqf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,13 @@ while {alive _unit} do {
256256
_unit spawn OT_fnc_revealToNATO;
257257
}
258258
};
259+
if(_unit getvariable ["ot_isSmoking",false]) exitWith {
260+
_unit setCaptive false;
261+
_unit spawn OT_fnc_revealToNATO;
262+
if(isPlayer _unit) then {
263+
"NATO has seen your spliff!" call OT_fnc_notifyMinor;
264+
};
265+
};
259266
if(count attachedObjects _unit > 0) exitWith {
260267
{
261268
if(typeOf _x in OT_staticWeapons) exitWith {

0 commit comments

Comments
 (0)