This commit is contained in:
Steffen Schröder committed 2014-05-01 17:35:46 +02:00
1 parent 7145cd267b
commit c0e2ed7370
9 files changed
+270 -254

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ class Script {
else {
$scriptFunction = new ScriptFunction($name, $text);
}
array_push($this->functions, $scriptFunction);
$this->functions[$scriptFunction->getName()] = $scriptFunction;
return $this;
}