we can now compare regions, do not need to compare ids

This commit is contained in:
Enno Rehling 2012-08-01 23:12:23 -07:00
parent d056f6049e
commit 65e5a82504
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ function test_guard()
u2:add_item("money", 100) u2:add_item("money", 100)
u3:add_item("money", 100) u3:add_item("money", 100)
process_orders() process_orders()
assert_equal(r.id, u1.region.id, "unit may not move after combat") assert_equal(r, u1.region, "unit may not move after combat")
end end
function test_recruit() function test_recruit()