Skip to content

Commit 9c6a8d9

Browse files
authored
Reduce city reinf log spam (#3706)
1 parent 7275a93 commit 9c6a8d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

A3A/addons/core/functions/GarrisonServer/fn_garrisonServer_cityReinf.sqf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ FIX_LINE_NUMBERS()
1616

1717
params ["_marker", "_troopCount"];
1818

19-
Trace_1("Called with params %1", _this);
20-
2119
// Add to the server garrison data store
2220

2321
private _garrison = A3A_garrison get _marker;
@@ -26,6 +24,7 @@ if (_troops#0 >= A3A_garrisonSize get _marker) exitWith {}; // maxed
2624
private _reinf = _troopCount + (_garrison getOrDefault ["reinfCount", 0]);
2725

2826
while {_reinf >= 2} do {
27+
Trace_1("Reinforcing city %1", _marker);
2928
_troops set [0, (_troops#0) + 2];
3029
_reinf = _reinf - 2;
3130
if (_marker in A3A_garrisonMachine) then {

0 commit comments

Comments
 (0)