disable storms in tests

This commit is contained in:
Enno Rehling 2018-01-01 07:47:06 +01:00
parent 77926d2d54
commit 6a31b432de
1 changed files with 1 additions and 5 deletions

View File

@ -8,6 +8,7 @@ function setup()
eressea.settings.set("rules.ship.damage.nocrewocean", "0")
eressea.settings.set("rules.ship.damage.nocrew", "0")
eressea.settings.set("rules.ship.drifting", "0")
eressea.settings.set("rules.ship.storms", "0")
end
function test_ship_requires_skill()
@ -58,11 +59,6 @@ function test_speedy_ship_slow()
u2:set_skill("sailing", 24) -- sumskill = 50
u1:add_order("NACH O O O O O O O O O O")
process_orders()
if 5 ~= u1.region.x then
for _, msg in ipairs(f.messages) do
print(msg)
end
end
assert_equal(5, u1.region.x)
end