Ninja edit

Variable `_pos` is undefined in the static mission monitor. It was renamed to `_missionPos` at some point, but the debug calls weren't updated. Oops
This commit is contained in:
eraser1 2022-06-11 18:37:15 -05:00 committed by GitHub
parent 48e530bfb5
commit f2e8c1d2cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@
if (DMS_DEBUG) then
{
format["MissionsMonitor_Static :: Static Mission Timeout Extended to %1 more seconds; AI count changed from %2 to %3. Position: %4, MissionIndex: %5",_failTime, _prevAICount, _AICount,_pos,_forEachIndex] call DMS_fnc_DebugLog;
format["MissionsMonitor_Static :: Static Mission Timeout Extended to %1 more seconds; AI count changed from %2 to %3. Position: %4, MissionIndex: %5",_failTime, _prevAICount, _AICount,_missionPos,_forEachIndex] call DMS_fnc_DebugLog;
};
};
};
@ -226,7 +226,7 @@
if (DMS_DEBUG) then
{
format["MissionsMonitor_Static :: Static Mission Timeout Extended to %1 more seconds; player found within %2 meters. Position: %3, MissionIndex: %4",_failTime,DMS_StaticMissionTimeoutResetRange,_pos,_forEachIndex] call DMS_fnc_DebugLog;
format["MissionsMonitor_Static :: Static Mission Timeout Extended to %1 more seconds; player found within %2 meters. Position: %3, MissionIndex: %4",_failTime,DMS_StaticMissionTimeoutResetRange,_missionPos,_forEachIndex] call DMS_fnc_DebugLog;
};
};
};