aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Cholewiński <harry666t@gmail.com>2016-03-01 23:54:05 +0100
committerKamil Cholewiński <harry666t@gmail.com>2016-03-01 23:54:05 +0100
commitba32690c46b63bd291b1a9ee1b561a1735efdba6 (patch)
tree50520666cb45bc69a98a335b7bd5a6a8583a1c63
parent944672d843f76d4ae09c50e25b07870568253d49 (diff)
downloadkittenlanding-ba32690c46b63bd291b1a9ee1b561a1735efdba6.zip
kittenlanding-ba32690c46b63bd291b1a9ee1b561a1735efdba6.tar.gz
kittenlanding-ba32690c46b63bd291b1a9ee1b561a1735efdba6.tar.bz2
/b/ random
-rw-r--r--game/Game.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/Game.lua b/game/Game.lua
index 79fabb5..b121801 100644
--- a/game/Game.lua
+++ b/game/Game.lua
@@ -93,6 +93,8 @@ function Game:init(args)
}
self.players[i]:attach_controller(ctl)
end
+
+ math.randomseed(os.time())
end
function Game:spawn(cls, args)