diff options
| author | UnicodeSnowman <unicodesnowman@codeberg.org> | 2023-06-22 11:49:13 -0600 |
|---|---|---|
| committer | UnicodeSnowman <unicodesnowman@codeberg.org> | 2023-06-22 11:49:13 -0600 |
| commit | fdd9cb1f9c9b2586cfdaeb9b561a085b4c7ff6c0 (patch) | |
| tree | 6b4b5375b6cfa272154258bb8100e58faf998da5 /disengage_damaged_units.lua | |
| parent | 1316f89a696686acf646a019502093527f68a04b (diff) | |
| download | bar-widgets-master.tar.gz bar-widgets-master.tar.bz2 bar-widgets-master.zip | |
Changes to disengage.master
Now units inherit the fallback point from their constructors/factories
so one does not need to constantly set set a fallback point for new
units.
Diffstat (limited to 'disengage_damaged_units.lua')
| -rw-r--r-- | disengage_damaged_units.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/disengage_damaged_units.lua b/disengage_damaged_units.lua index eecd364..032561c 100644 --- a/disengage_damaged_units.lua +++ b/disengage_damaged_units.lua @@ -34,7 +34,6 @@ local function disengageDamagedUnits() local percent = health / maxHealth if percent < damageThreshold then - Spring.Echo("Disengaging " .. uid) spGiveOrderToUnit(uid, WG.CMD_DISENGAGE, {}, 0) else table.insert(newSelection, uid) |