summaryrefslogtreecommitdiff
path: root/src/game-server/main-game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/main-game.cpp')
-rw-r--r--src/game-server/main-game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp
index da1b60f2..a63dc585 100644
--- a/src/game-server/main-game.cpp
+++ b/src/game-server/main-game.cpp
@@ -210,6 +210,9 @@ void initialize()
// Pre-calulate the needed trigomic function values
utils::math::init();
+
+ //Seed the random number generator
+ std::srand( time(NULL) );
}