mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Actually merge the latest default into minor…
--HG-- branch : minor
This commit is contained in:
@@ -647,8 +647,8 @@ int loader(lua_State *L)
|
||||
auto *inst = instance();
|
||||
for (std::string element : inst->getRequirePath())
|
||||
{
|
||||
size_t pos = element.find('?');
|
||||
if (pos != std::string::npos)
|
||||
size_t pos = 0;
|
||||
while ((pos = element.find('?', pos)) != std::string::npos)
|
||||
element.replace(pos, 1, modulename);
|
||||
|
||||
if (inst->isFile(element.c_str()))
|
||||
|
||||
Reference in New Issue
Block a user