Revert changes to extension from 2343f1b2d6

This commit is contained in:
Rochet2
2014-11-09 23:03:57 +02:00
parent 2343f1b2d6
commit 02316cd182
4 changed files with 5 additions and 5 deletions

View File

@@ -178,9 +178,9 @@ void Eluna::AddScriptPath(std::string filename, std::string fullpath)
filename = filename.substr(0, extDot);
// check extension and add path to scripts to load
if (ext != ".lua" && ext != ".dll")
if (ext != ".lua" && ext != ".dll" && ext != ".ext")
return;
bool extension = filename.find(".ext") != std::string::npos;
bool extension = ext == ".ext";
LuaScript script;
script.fileext = ext;