From 6009461239aa36d42955876e3c92b83d73cbe706 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Fri, 11 May 2012 22:23:42 -0400 Subject: [PATCH] fixed last commit to use absolute value and more reasonable threshold \o/ for padding my commit numbers! --- overviewer_core/world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/world.py b/overviewer_core/world.py index c25a770..279fa72 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -484,7 +484,7 @@ class RegionSet(object): p = f.split(".") x = int(p[1]) y = int(p[2]) - if x > 10000 or y > 10000: + if abs(x) > 500000 or abs(y) > 500000: logging.warning("Holy shit what is up with region file %s !?" % f) yield (x, y, path)