1
0
mirror of https://github.com/veden/Rampant.git synced 2025-02-11 13:39:05 +02:00

Fix typo in SquadDefense (#26)

"newSquad.rapid" should be "newSquad.rabid"
This commit is contained in:
jnshi 2020-05-16 20:51:23 +02:00 committed by GitHub
parent 5e525da5a3
commit c0c3fcd732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ function aiDefense.retreatUnits(chunk, position, squad, map, surface, tick, radi
end
end
if not newSquad.rapid then
if not newSquad.rabid then
newSquad.frenzy = true
local squadPosition = newSquad.group.position
newSquad.frenzyPosition.x = squadPosition.x