aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-08-11 22:53:03 -0700
committer1029chris <1029chris@gmail.com>2016-08-11 22:53:03 -0700
commit23f8be8dac4f0c7fe075cab0df76d4f754797181 (patch)
tree06c0064b25caf090f3458ec27941c9c5b063f53a
parent91e56388125d82bfea5b6b38aec9e6fc7f3f398a (diff)
Popups at start now come up more randomly
-rw-r--r--system.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/system.lua b/system.lua
index 186f356..d4386f9 100644
--- a/system.lua
+++ b/system.lua
@@ -18,7 +18,7 @@ function updateSystem(dt)
addPopup(false, sys.w/2-300, sys.h/2-200, 600, 400, 1, false, true)
end
if v2.startTime >= v2.startPopups and v2.start == false then
- v2.startPopups = v2.startPopups + 5
+ v2.startPopups = v2.startPopups + math.random(2,10)
addPopup(true)
end
end