Skip to content

Commit fa927a9

Browse files
authored
Use Faction::ProduceMetal for future-proofing
1 parent f8dcb39 commit fa927a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ZkData/Ef/Galaxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void ProcessProduction()
9999
if (p.Account != null)
100100
p.Account.ProduceMetal(GlobalConst.PlanetMetalPerTurn);
101101
else
102-
p.Faction.Metal += GlobalConst.PlanetMetalPerTurn;
102+
p.Faction.ProduceMetal(GlobalConst.PlanetMetalPerTurn);
103103
}
104104
}
105105

0 commit comments

Comments
 (0)