1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #2236 from vcmi/limit_seer_huts

Create only a single seer hut for every artifact we have
This commit is contained in:
DjWarmonger
2023-07-22 08:17:03 +02:00
committed by GitHub

View File

@@ -484,6 +484,7 @@ void TreasurePlacer::addAllPossibleObjects()
}
oi.probability = 10;
oi.maxPerZone = 1;
oi.generateObject = [i, randomAppearance, this, qap]() -> CGObjectInstance *
{