removed a comment, changed name of script storing variable to something that makes more sense

This commit is contained in:
Joakim Kilby
2015-06-25 12:31:11 +02:00
parent 46757113fd
commit 22af992078
2 changed files with 7 additions and 8 deletions

View File

@@ -155,7 +155,7 @@ bool ScriptEngine::runScript(const std::string& script) {
return false;
}
//if we're currently hosting the parallel session find out if script should be synchronized.
//if we're currently hosting the parallel session, find out if script should be synchronized.
if(OsEng.parallelConnection()->isHost()){
//"deconstruct the script to find library and function name
@@ -212,7 +212,6 @@ bool ScriptEngine::runScript(const std::string& script) {
//function was found!
if(funcit->name.compare(func) == 0){
//is the function of a type that should be shared via parallel connection?
//and are we currently hosting the session?
if(funcit->parallelShared ){
OsEng.parallelConnection()->sendScript(script);
}