Use GDREGISTER defines in example

(cherry picked from commit a537b4af4d)
This commit is contained in:
Thaddeus Crews
2024-04-10 13:51:53 -05:00
committed by David Snopek
parent 7e5fa8e7a9
commit fc5366c026
2 changed files with 9 additions and 9 deletions

View File

@@ -132,7 +132,7 @@ void initialize_example_module(ModuleInitializationLevel p_level) {
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
return;
}
ClassDB::register_class<Example>();
GDREGISTER_CLASS(Example);
}
```