Fixed "all read" visual bug
This commit is contained in:
parent
62bf6c42c4
commit
caa4a63b48
|
@ -4,6 +4,7 @@ if (isDedicated) then {debug_source = "Server";} else {debug_source = name playe
|
|||
|
||||
[] call compileFinal preprocessFileLineNumbers "scripts\shared\liberation_functions.sqf";
|
||||
[] call compileFinal preprocessFileLineNumbers "scripts\shared\init_sectors.sqf";
|
||||
if (!isServer) then {waitUntil {!isNil "KP_serverParamsFetched"};};
|
||||
[] call compileFinal preprocessFileLineNumbers "scripts\shared\fetch_params.sqf";
|
||||
[] call compileFinal preprocessFileLineNumbers "kp_liberation_config.sqf";
|
||||
[] call compileFinal preprocessFileLineNumbers "presets\init_presets.sqf";
|
||||
|
@ -22,8 +23,6 @@ if (!isDedicated && !hasInterface && isMultiplayer) then {
|
|||
};
|
||||
|
||||
if (!isDedicated && hasInterface) then {
|
||||
execVM "scripts\client\markers\sector_manager.sqf";
|
||||
execVM "scripts\client\markers\fob_markers.sqf";
|
||||
waitUntil {alive player};
|
||||
if (debug_source != name player) then {debug_source = name player};
|
||||
[] call compileFinal preprocessFileLineNumbers "scripts\client\init_client.sqf";
|
||||
|
|
|
@ -12,7 +12,7 @@ switch (KP_liberation_arsenal) do {
|
|||
default {GRLIB_arsenal_weapons = [];GRLIB_arsenal_magazines = [];GRLIB_arsenal_items = [];GRLIB_arsenal_backpacks = [];};
|
||||
};
|
||||
|
||||
if ( typeOf player == "VirtualSpectator_F" ) exitWith {
|
||||
if (typeOf player == "VirtualSpectator_F") exitWith {
|
||||
execVM "scripts\client\markers\empty_vehicles_marker.sqf";
|
||||
execVM "scripts\client\markers\fob_markers.sqf";
|
||||
execVM "scripts\client\markers\group_icons.sqf";
|
||||
|
@ -42,9 +42,11 @@ execVM "scripts\client\build\build_overlay.sqf";
|
|||
execVM "scripts\client\build\do_build.sqf";
|
||||
execVM "scripts\client\commander\enforce_whitelist.sqf";
|
||||
if (KP_liberation_mapmarkers) then {execVM "scripts\client\markers\empty_vehicles_marker.sqf";};
|
||||
execVM "scripts\client\markers\fob_markers.sqf";
|
||||
if (KP_liberation_mapmarkers) then {execVM "scripts\client\markers\group_icons.sqf";};
|
||||
execVM "scripts\client\markers\hostile_groups.sqf";
|
||||
if (KP_liberation_mapmarkers) then {execVM "scripts\client\markers\huron_marker.sqf";} else {deleteMarkerLocal "huronmarker"};
|
||||
execVM "scripts\client\markers\sector_manager.sqf";
|
||||
execVM "scripts\client\markers\spot_timer.sqf";
|
||||
execVM "scripts\client\misc\broadcast_squad_colors.sqf";
|
||||
execVM "scripts\client\misc\disable_remote_sensors.sqf";
|
||||
|
|
|
@ -81,12 +81,6 @@ if(isServer) then {
|
|||
publicVariable "KP_serverParamsFetched";
|
||||
|
||||
diag_log "[KP LIBERATION] [PARAM] Server finished parameters initialization.";
|
||||
|
||||
} else {
|
||||
waitUntil {sleep 0.5; !isNil "KP_serverParamsFetched"};
|
||||
waitUntil {sleep 0.5; KP_serverParamsFetched};
|
||||
|
||||
private _text = format ["[KP LIBERATION] [PARAM] Client %1 received parameters from server.", name player]; _text remoteExec ["diag_log",2];
|
||||
};
|
||||
|
||||
// Fix for not working float values in mission params
|
||||
|
|
Loading…
Reference in New Issue