mirror of https://github.com/axmolengine/axmol.git
add reload
This commit is contained in:
parent
8ac09f0631
commit
e97552c2d3
|
@ -649,6 +649,11 @@ public:
|
|||
bodyvalue.AddMember(objectfiles[i].GetString(),1,dReplyParse.GetAllocator());
|
||||
}
|
||||
}
|
||||
if (0 == objectfiles.Size())
|
||||
{
|
||||
reloadScript("");
|
||||
}
|
||||
|
||||
dReplyParse.AddMember("body",bodyvalue,dReplyParse.GetAllocator());
|
||||
}
|
||||
dReplyParse.AddMember("code",0,dReplyParse.GetAllocator());
|
||||
|
|
Loading…
Reference in New Issue