Skip to content

Commit

Permalink
JRM: Reveal after TP
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuel committed Jan 4, 2016
1 parent b1ca55d commit 168dd64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FP_Template.VR/base/functions/jrm/fn_forceRespawn.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ if (!isNil "_posOrCode") then {
[false] call FP_fnc_spectate;
if (!isNil "_pos" && {_pos call FP_fnc_isValidPos}) then {
player setPos _pos;
private _stuff = nearestObjects [player, ["All"], 100];
{player reveal [_x, 4]} forEach _stuff;
} else {
if (!isNil "_function") then {
[player] call _function;
Expand Down

0 comments on commit 168dd64

Please sign in to comment.