From ae55dce96ef2dca4805bffc1b0fe5221bc0ee943 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 23 Oct 2019 15:40:04 +0200 Subject: [PATCH] After thinking it's probably not a good idea to allow player's seed to contain junk from memory. --- entities/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/player.cpp b/entities/player.cpp index c6d9448..43a1dfb 100644 --- a/entities/player.cpp +++ b/entities/player.cpp @@ -75,7 +75,7 @@ void Player::_from_dict(const Dictionary &dict) { } Player::Player() { - //_seed = 0; don't it will be random by default like this + _s_seed = 0; _c_seed = _s_seed; //_input_profile = Ref(memnew(InputProfile()));