Skip to content

Commit

Permalink
Work please?
Browse files Browse the repository at this point in the history
  • Loading branch information
cerebral-314 committed Aug 13, 2024
1 parent 5c60381 commit dcdcecd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion mission/eventhandlers/mission/eh_EntityRespawned.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ if (isPlayer _entity) then
}, [_entity], 1] call CBA_fnc_waitAndExecute;
};

[_entity] call vn_mf_fnc_curator_init;
// wipe out unused data
_corpse setVariable ["vn_mf_dyn_weaponholders",nil,true];
};
2 changes: 2 additions & 0 deletions mission/eventhandlers/player/eh_Respawn.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ _unit setVariable ["vn_mf_side", side player, true];

// re-add hold/add actions onto the newly respawned player
call vn_mf_fnc_action_init;

[player] call vn_mf_fnc_curator_init;
2 changes: 2 additions & 0 deletions mission/para_player_loaded_client.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ player addEventHandler ["Respawn", _fnc_respawnEventHandler];
//This way they can still exit if they want.
player enableSimulation false;

[player] call vn_mf_fnc_curator_init;

// Start loading screen, so we wait while server init completes.
startLoadingScreen ["Welcome to Mike Force!", "MikeForce_loadingScreen"];
[getText(missionConfigFile >> "gamemode" >> "loadingScreens" >> "mainWelcome"),5002] call vn_mf_fnc_update_loading_screen;
2 changes: 0 additions & 2 deletions mission/para_player_postinit_server.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,4 @@

params ["_player", "_didJIP"];

[_player] call vn_mf_fnc_curator_init;

diag_log format ["Mike Force: Player postinit server - %1", _player];

0 comments on commit dcdcecd

Please sign in to comment.