mirror of
https://github.com/veden/Rampant.git
synced 2024-12-26 20:54:12 +02:00
FACTO-339: Added squad wander command after timeout
This commit is contained in:
parent
439c485354
commit
c5004f4fad
@ -2,6 +2,7 @@
|
||||
Version: 3.3.3
|
||||
Bugfixes:
|
||||
- Added check for invalid entity upgrade
|
||||
- Added wander command to squads if they timeout for executing a command to fix enemy units getting stuck
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.3.2
|
||||
|
@ -307,7 +307,7 @@ local function onModSettingsChange(event)
|
||||
end
|
||||
|
||||
local function onConfigChanged()
|
||||
game.print("Rampant - Version 3.3.2")
|
||||
game.print("Rampant - Version 3.3.3")
|
||||
initializeLibraries(true)
|
||||
Upgrade.attempt()
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"name" : "Rampant",
|
||||
"factorio_version" : "1.1",
|
||||
"version" : "3.3.2",
|
||||
"version" : "3.3.3",
|
||||
"title" : "Rampant",
|
||||
"author" : "Veden",
|
||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||
"dependencies" : ["base >= 1.1.36", "? bobenemies", "? Natural_Evolution_Enemies >= 0.17.0", "? Clockwork", "? Kux-OrbitalIonCannon", "? Orbital Ion Cannon", "? ArmouredBiters", "? Krastorio2", "? SchallAlienLoot >= 0.17.6", "! zhcnremake"]
|
||||
"dependencies" : ["base >= 1.1.81", "? bobenemies", "? Natural_Evolution_Enemies >= 0.17.0", "? Clockwork", "? Kux-OrbitalIonCannon", "? Orbital Ion Cannon", "? ArmouredBiters", "? Krastorio2", "? SchallAlienLoot >= 0.17.6", "! zhcnremake"]
|
||||
}
|
||||
|
@ -758,6 +758,7 @@ function Squad.cleanSquads(tick)
|
||||
else
|
||||
squad.commandTick = tick + COMMAND_TIMEOUT
|
||||
end
|
||||
squad.group.set_command(Queries.wander2Command)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user