mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 10:36:44 +00:00
Bugfix require() not replacing dots with slashes
This commit is contained in:
parent
dc7d6bde27
commit
e5e2d58f62
1 changed files with 3 additions and 0 deletions
|
@ -164,6 +164,9 @@ internal class Sandbox
|
|||
|
||||
var libname = L.CheckString(1);
|
||||
var searchpath = L.CheckString(2);
|
||||
|
||||
libname = libname.Replace('.', '/');
|
||||
|
||||
var possiblePaths = searchpath
|
||||
.Split(';')
|
||||
.Select(p => p.Replace("?", libname));
|
||||
|
|
Loading…
Reference in a new issue