fix: fix FloatingText

This commit is contained in:
Tsubasa6848
2024-04-15 17:26:42 +08:00
Unverified
parent 620ba0a464
commit 76086c8fcf
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ void Export_Compatibility_API() {
"GMLIB_API",
"createFloatingText",
[](std::pair<Vec3, int> pos, std::string text, bool papi) -> int {
auto ft = new GMLIB::Server::FloatingText(text, pos.first, pos.second, papi);
auto ft = new GMLIB::Server::StaticFloatingText(text, pos.first, pos.second, papi);
return ft->getRuntimeID();
}
);