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