try to fix players_connected count check
This commit is contained in:
@@ -124,7 +124,7 @@ if (isServer) then {
|
||||
[
|
||||
["int", "players_connected", {
|
||||
private _info = getUserInfo (getPlayerId _x);
|
||||
if (!isNil "_info") then {
|
||||
if (!isNil "_info" && {count _info >= 6}) then {
|
||||
_info select 7
|
||||
} else {false}
|
||||
} count _allPlayers]
|
||||
|
||||
@@ -6,7 +6,7 @@ if (!isServer && hasInterface) exitWith {};
|
||||
RangerMetrics_cbaPresent = isClass(configFile >> "CfgPatches" >> "cba_main");
|
||||
RangerMetrics_aceMedicalPresent = isClass(configFile >> "CfgPatches" >> "ace_medical_status");
|
||||
RangerMetrics_logPrefix = "RangerMetrics";
|
||||
RangerMetrics_debug = true;
|
||||
RangerMetrics_debug = false;
|
||||
RangerMetrics_initialized = false;
|
||||
RangerMetrics_run = true;
|
||||
RangerMetrics_nextID = 0;
|
||||
|
||||
Reference in New Issue
Block a user