small fixes

This commit is contained in:
Enno Rehling 2009-10-16 17:16:35 +00:00
parent 1fe4710cab
commit 79c4ea0efe
1 changed files with 1 additions and 0 deletions

View File

@ -727,6 +727,7 @@ end
function test_give() function test_give()
free_game() free_game()
local u1, u2 = two_units(region.create(0, 0, "plain"), two_factions()) local u1, u2 = two_units(region.create(0, 0, "plain"), two_factions())
local r = u2.region
u1.faction.age = 10 u1.faction.age = 10
u2.faction.age = 10 u2.faction.age = 10
u1:add_item("money", 500) u1:add_item("money", 500)