From a61dfc79d9a790ad6f350c08438e26143dd4b7ba Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 7 Sep 2018 13:55:47 +0800 Subject: [PATCH] remove machine_type --- cpp/scriptengine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/";