Skip to content

Commit 923ef7a

Browse files
authored
Merge pull request #18 from rcorex/patch-3
exclude dead scav commanders from being not reclaimable
2 parents 58c17e9 + 0e401bc commit 923ef7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/tweakdefs.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ for name, def in pairs(unitDefs) do
133133
s.wobble = {}
134134
end
135135
end
136-
elseif name:match '^[acl][ore][rgm]com' then
136+
elseif name:match '^[acl][ore][rgm]com' and not name:match '_scav$' then
137137
unitDefs[name].featuredefs.dead.reclaimable = false
138138
unitDefs[name].featuredefs.dead.damage = 560000
139139
end

0 commit comments

Comments
 (0)