Removed unneeded slowdown.
This commit is contained in:
parent
b09ccd8656
commit
e5f3222200
1 changed files with 1 additions and 3 deletions
|
@ -74,9 +74,7 @@
|
|||
-- Calc the total unit-score here
|
||||
for i, unit in ipairs( wesnoth.get_units { side = side } ) do
|
||||
if not unit.__cfg.canrecruit then
|
||||
wesnoth.fire("unit_worth",{
|
||||
id = unit.__cfg.id,
|
||||
})
|
||||
wesnoth.fire("unit_worth", { id = unit.id })
|
||||
units = units + wesnoth.get_variable("unit_worth")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue