remove machine_type

This commit is contained in:
aozhiwei 2018-09-07 13:55:47 +08:00
parent 611c2fae03
commit a61dfc79d9

View File

@ -7,7 +7,7 @@
void ScriptEngine::Init() void ScriptEngine::Init()
{ {
engine_ = new a8::PyEngine(); engine_ = new a8::PyEngine();
if (getenv("machine_type")) { if (getenv("is_dev_env")) {
engine_->work_path = "/var/data/conf_test/game1008/res/pyscripts/"; engine_->work_path = "/var/data/conf_test/game1008/res/pyscripts/";
} else { } else {
engine_->work_path = "../config/res/pyscripts/"; engine_->work_path = "../config/res/pyscripts/";