1212
This commit is contained in:
parent
cf071fe0c8
commit
2dddf36c21
|
|
@ -163,13 +163,23 @@ static void ReloadingScript(HSQUIRRELVM v, std::string FilePath)
|
|||
|
||||
static SQInteger SqReloadScript(HSQUIRRELVM v)
|
||||
{
|
||||
#ifdef WEBSCRIPT
|
||||
ReqSquirrelScript(v);
|
||||
#else
|
||||
ReloadingScript(v, "/dp_s/Dps_A/");
|
||||
ReloadingScript(v, "/dp_s/Dps_B/");
|
||||
ReloadingScript(v, "/dp_s/Dps_C/");
|
||||
#endif
|
||||
if ((access("/dp_s/lib/db.ini", F_OK) != -1))
|
||||
{
|
||||
ReloadingScript(v, "/dp_s/Dps_A/");
|
||||
ReloadingScript(v, "/dp_s/Dps_B/");
|
||||
ReloadingScript(v, "/dp_s/Dps_C/");
|
||||
}
|
||||
else
|
||||
{
|
||||
ReqSquirrelScript(v);
|
||||
}
|
||||
// #ifdef WEBSCRIPT
|
||||
// ReqSquirrelScript(v);
|
||||
// #else
|
||||
// ReloadingScript(v, "/dp_s/Dps_A/");
|
||||
// ReloadingScript(v, "/dp_s/Dps_B/");
|
||||
// ReloadingScript(v, "/dp_s/Dps_C/");
|
||||
// #endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue