forked from github/server
Merge remote-tracking branch 'upstream/develop' into develop
This commit is contained in:
commit
b2c2942c60
2 changed files with 2 additions and 2 deletions
|
@ -5,6 +5,6 @@ import sys
|
||||||
|
|
||||||
def new_version(ver):
|
def new_version(ver):
|
||||||
os.system("git tag -f v%s" % ver)
|
os.system("git tag -f v%s" % ver)
|
||||||
os.system("git push --tags")
|
os.system("git push --tags -f")
|
||||||
|
|
||||||
new_version(sys.argv[1])
|
new_version(sys.argv[1])
|
||||||
|
|
|
@ -876,7 +876,7 @@ void spawn_dragons(void)
|
||||||
region *r;
|
region *r;
|
||||||
faction *monsters = get_or_create_monsters();
|
faction *monsters = get_or_create_monsters();
|
||||||
int minage = config_get_int("monsters.spawn.min_age", 100);
|
int minage = config_get_int("monsters.spawn.min_age", 100);
|
||||||
int spawn_chance = config_get_int("monsters.spawn.chance", 100);
|
int spawn_chance = config_get_int("monsters.spawn.chance", 100) * 100;
|
||||||
|
|
||||||
if (spawn_chance <= 0) {
|
if (spawn_chance <= 0) {
|
||||||
/* monster spawning disabled */
|
/* monster spawning disabled */
|
||||||
|
|
Loading…
Reference in a new issue