forked from github/server
we can now compare regions, do not need to compare ids
This commit is contained in:
parent
d056f6049e
commit
65e5a82504
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue