bugfix for bug #15454 - legacy scripts inside CARGO_SCRIPTED_ITEMs now work again. Tested with ore processor 1.52.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2375 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Marc 2009-09-03 23:27:18 +00:00
parent 3b36f20058
commit da8da6183d

View File

@ -94,7 +94,7 @@ if (this.legacy_scriptActions !== undefined)
*/
// Note "backwards" call, allowing awardEquipment: and similar to affect the scooper rather than the scoopee.
scooper.runLegacyScriptActions(this.ship, this.legacy_scriptActions);
scooper.runLegacyScriptActions(scooper, this.legacy_scriptActions);
};
}