1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

noctural mode doesn't get points anymore from factorio spawned groups

during the day
This commit is contained in:
Aaron Veden 2021-11-25 11:24:54 -08:00
parent 5c9d35db9f
commit 6674e4015d
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 1 additions and 4 deletions

View File

@ -21,6 +21,7 @@ Date: 23. 11. 2021
- Fixed new enemy adaptation due to damage type not correctly calculating probability for adaptation
- Fixed squad cleanup would periodically skip a squad when cleaning up dead unit groups
- Fixed enemy destroying a player structure only processing half of the chunks it should have been
- Fixed unit groups spawned by factorio in noctural mode during the day would give points to the AI (Thanks Deathlymad)
---------------------------------------------------------------------------------------------------
Version: 1.1.4

View File

@ -895,10 +895,6 @@ local function onUnitGroupCreated(event)
end
else
if not (surface.darkness > 0.65) then
map.points = map.points + AI_SQUAD_COST
if universe.aiPointsPrintGainsToChat then
game.print(map.surface.name .. ": Points: +" .. AI_SQUAD_COST .. ". [Squad Refund] Total: " .. string.format("%.2f", map.points))
end
group.destroy()
return
end