Skip to content

Commit 75f8a47

Browse files
authored
Update native-lib.cpp
1 parent a2dc02e commit 75f8a47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/cpp/native-lib.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
void mainfunc(){
1010
// Only start when roblox is loaded
11-
while (!isLibraryLoaded("libroblox.so")) sleep(1);
11+
while (!isLibraryLoaded("RobloxLib.framework")) sleep(1);
1212

1313
// Init our function pointers
1414
initfuncs();
@@ -22,4 +22,4 @@ void mainfunc(){
2222
}
2323

2424
[[maybe_unused]] __attribute__((constructor))
25-
void EntryPoint(){ std::thread{mainfunc}.detach(); }
25+
void EntryPoint(){ std::thread{mainfunc}.detach(); }

0 commit comments

Comments
 (0)