mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Fixed bug/epic fail in loader
This commit is contained in:
@@ -212,7 +212,10 @@ namespace physfs
|
||||
int size = tmp.size();
|
||||
|
||||
if(size <= 4 || strcmp(filename + (size-4), ".lua") != 0)
|
||||
{
|
||||
tmp.append(".lua");
|
||||
size = tmp.size();
|
||||
}
|
||||
|
||||
for(int i=0;i<size-4;i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user