After thinking it's probably not a good idea to allow player's seed to contain junk from memory.

This commit is contained in:
Relintai 2019-10-23 15:40:04 +02:00
parent b0ce9818c1
commit ae55dce96e

View File

@ -75,7 +75,7 @@ void Player::_from_dict(const Dictionary &dict) {
} }
Player::Player() { Player::Player() {
//_seed = 0; don't it will be random by default like this _s_seed = 0;
_c_seed = _s_seed; _c_seed = _s_seed;
//_input_profile = Ref<InputProfile>(memnew(InputProfile())); //_input_profile = Ref<InputProfile>(memnew(InputProfile()));