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:
parent
5c9d35db9f
commit
6674e4015d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user