From 1202c0524dd8b5ae84c1094be8c2afdb34a5cf70 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Thu, 19 May 2016 12:24:50 +0200 Subject: Increase area used by random fallback placement of switches Got tired of hogging the upper left corner --- include/nms/util.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/nms/util.pm') diff --git a/include/nms/util.pm b/include/nms/util.pm index 8c5b9d8..d2382f9 100644 --- a/include/nms/util.pm +++ b/include/nms/util.pm @@ -124,8 +124,8 @@ sub guess_placement { } else { # Fallback to have _some_ position $src = "random"; - $x = int(rand(500)); - $y = int(rand(500)); + $x = int(rand(1900)); + $y = int(rand(900)); $xx = $x + 20; $yy = $y + 130; }; -- cgit v1.2.3