Commit 41470a4b authored by nanahira's avatar nanahira

Merge branch 'server' of https://github.com/moecube/ygopro into server

parents e6492e7e 39d028da
......@@ -329,11 +329,13 @@ int DataManager::CardReader(int code, void* pData) {
}
byte* DataManager::ScriptReaderEx(const char* script_name, int* slen) {
byte* buffer;
#ifndef YGOPRO_SERVER_MODE
if(!mainGame->gameConf.prefer_expansion_script) {
buffer = ScriptReaderExDirectry(".", script_name, slen);
if(buffer)
return buffer;
}
#endif
buffer = ScriptReaderExDirectry("./specials", script_name, slen, 8);
if(buffer)
return buffer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment