diff --git a/src/pc/lua/smlua_cobject_map.c b/src/pc/lua/smlua_cobject_map.c index 5a6f607c8..2708dd514 100644 --- a/src/pc/lua/smlua_cobject_map.c +++ b/src/pc/lua/smlua_cobject_map.c @@ -4,14 +4,14 @@ static void* sPointers = NULL; -void smlua_pointer_user_data_init(void) { - smlua_pointer_user_data_shutdown(); -} - void smlua_pointer_user_data_shutdown(void) { hmap_clear(sPointers); } +void smlua_pointer_user_data_init(void) { + smlua_pointer_user_data_shutdown(); +} + void smlua_pointer_user_data_add(u64 pointer, CObject *obj) { if (pointer == 0) { return; }