We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7275a93 commit 9c6a8d9Copy full SHA for 9c6a8d9
A3A/addons/core/functions/GarrisonServer/fn_garrisonServer_cityReinf.sqf
@@ -16,8 +16,6 @@ FIX_LINE_NUMBERS()
16
17
params ["_marker", "_troopCount"];
18
19
-Trace_1("Called with params %1", _this);
20
-
21
// Add to the server garrison data store
22
23
private _garrison = A3A_garrison get _marker;
@@ -26,6 +24,7 @@ if (_troops#0 >= A3A_garrisonSize get _marker) exitWith {}; // maxed
26
24
private _reinf = _troopCount + (_garrison getOrDefault ["reinfCount", 0]);
27
25
28
while {_reinf >= 2} do {
+ Trace_1("Reinforcing city %1", _marker);
29
_troops set [0, (_troops#0) + 2];
30
_reinf = _reinf - 2;
31
if (_marker in A3A_garrisonMachine) then {
0 commit comments