Skip to content

Commit

Permalink
fix: lua utf8 API.
Browse files Browse the repository at this point in the history
  • Loading branch information
notpeter committed May 26, 2024
1 parent 58696da commit 7ce293a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class Global extends Thread {
this.lua.luaopen_string(this.address)
break
case LuaLibraries.UTF8:
this.lua.luaopen_string(this.address)
this.lua.luaopen_utf8(this.address)
break
case LuaLibraries.Math:
this.lua.luaopen_math(this.address)
Expand Down

0 comments on commit 7ce293a

Please sign in to comment.