diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-11-05 11:04:25 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-04-22 21:13:43 +0200 |
commit | 497c3f97b21292a94946f779f95dfefb0930a8ac (patch) | |
tree | 9a0c72e62a34e6bc00eec727b05c2324b5f6c287 /scene/main | |
parent | c7b97f077a0f62d9e280adbddddc901f35e4f40f (diff) |
Call randomize() automatically
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/scene_tree.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index 66f3a2ebde..a62c4ff770 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -1349,6 +1349,8 @@ SceneTree::SceneTree() { GLOBAL_DEF("debug/shapes/collision/draw_2d_outlines", true); + Math::randomize(); + // Create with mainloop. root = memnew(Window); |