Compare commits

..

3 Commits

Author SHA1 Message Date
Sara c568673f18 Merge branch 'temp' 2024-10-08 19:22:04 +02:00
Sara b1d5e5d263 Merge remote-tracking branch 'origin' into temp 2024-10-05 22:17:32 +02:00
Sara 76fa8d3e3f feat: rng is now initialzed on _enter_tree 2024-10-05 22:16:51 +02:00
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ void GameRoot3D::_enter_tree() {
// TODO: Replace this with detecting input devices // TODO: Replace this with detecting input devices
this->player_input_connected(); this->player_input_connected();
this->grab_singleton(); this->grab_singleton();
this->rng = gd::Ref<gd::RandomNumberGenerator>(memnew(gd::RandomNumberGenerator)); this->rng = godot::Ref<godot::RandomNumberGenerator>(memnew(godot::RandomNumberGenerator));
} }
void GameRoot3D::_ready() { void GameRoot3D::_ready() {