remove machine_type
This commit is contained in:
parent
611c2fae03
commit
a61dfc79d9
@ -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/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user