still having problems with GiveRestriction

This commit is contained in:
Enno Rehling 2015-05-24 07:49:01 +02:00
parent 34b1ead0ac
commit 9780ec845f
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash
set -e
ROOT=$(pwd)
while [ ! -d $ROOT/.git ]; do
ROOT=$(dirname $ROOT)

View File

@ -61,6 +61,7 @@ end
function test_give_divisor()
eressea.settings.set("rules.items.give_divisor", 2)
eressea.settings.set("GiveRestriction", 0)
local r = region.create(1, 1, "plain")
local f1 = faction.create("test@example.com", "human", "de")
local f2 = faction.create("test@example.com", "human", "de")