fix the morale test, needs to update_owners() first.

This commit is contained in:
Enno Rehling 2011-03-08 21:21:11 -08:00
parent b95f663087
commit c08fba8308
1 changed files with 55 additions and 53 deletions

View File

@ -99,6 +99,8 @@ function test_morale_change()
end
-- reinhardt-regel: nach 2*AVG_STEP ist moral mindestens einmal gestiegen.
update_owners()
assert_not_equal(r.owner, nil)
for i=1,AVG_STEP*2 do
run_a_turn()
assert_not_equal(r.owner, nil)