diff --git a/cpp/scriptengine.cc b/cpp/scriptengine.cc index 4273853..4764426 100644 --- a/cpp/scriptengine.cc +++ b/cpp/scriptengine.cc @@ -7,15 +7,11 @@ void ScriptEngine::Init() { engine_ = new a8::PyEngine(); - #if 1 - engine_->work_path = "../res/pyscripts/"; - #else if (getenv("machine_type")) { engine_->work_path = "/var/data/conf_test/game1008/res/pyscripts/"; } else { - engine_->work_path = "../res/pyscripts/"; + engine_->work_path = "../config/res/pyscripts/"; } - #endif engine_->Init(); if (!engine_->IsInitialized()) { abort();