Skip to content

Commit

Permalink
Merge pull request #114 from notpeter/utf8_fix
Browse files Browse the repository at this point in the history
fix: lua utf8 API.
  • Loading branch information
ceifa authored May 27, 2024
2 parents 58696da + 7ce293a commit ed450e9
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 ed450e9

Please sign in to comment.