Removed unneeded slowdown.

This commit is contained in:
Guillaume Melquiond 2009-06-17 06:14:37 +00:00
parent b09ccd8656
commit e5f3222200

View file

@ -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