mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update server_playerLogin.sqf
Add Chernarus Winter to the glitched map objects removal so the silly bench in the NWAF barracks gets destroyed.
This commit is contained in:
@@ -157,7 +157,7 @@ if (_endMission) exitwith {
|
|||||||
//Sync chopped trees for JIP player
|
//Sync chopped trees for JIP player
|
||||||
{_x setDamage 1} count dayz_choppedTrees;
|
{_x setDamage 1} count dayz_choppedTrees;
|
||||||
|
|
||||||
if (toLower worldName == "chernarus") then {
|
if (toLower worldName in ["chernarus","chernarus_winter"]) then {
|
||||||
//Destroy glitched map objects which can not be deleted or hidden
|
//Destroy glitched map objects which can not be deleted or hidden
|
||||||
{(_x select 0) nearestObject (_x select 1) setDamage 1} count [
|
{(_x select 0) nearestObject (_x select 1) setDamage 1} count [
|
||||||
//Clipped benches in barracks hallway
|
//Clipped benches in barracks hallway
|
||||||
@@ -193,4 +193,4 @@ if (count dayz_activeInvites > 0) then {
|
|||||||
[_playerID,_charID,2,(_playerObj call fa_plr2str),((getPosATL _playerObj) call fa_coor2str)] call dayz_recordLogin;
|
[_playerID,_charID,2,(_playerObj call fa_plr2str),((getPosATL _playerObj) call fa_coor2str)] call dayz_recordLogin;
|
||||||
|
|
||||||
PVCDZ_plr_PlayerAccepted = [_playerName,diag_ticktime];
|
PVCDZ_plr_PlayerAccepted = [_playerName,diag_ticktime];
|
||||||
(owner _playerObj) publicVariableClient "PVCDZ_plr_PlayerAccepted";
|
(owner _playerObj) publicVariableClient "PVCDZ_plr_PlayerAccepted";
|
||||||
|
|||||||
Reference in New Issue
Block a user