//removePreScript.js
(function () {
/* global AdventureJS A */
var p = AdventureJS.Game.prototype;
/**
* Utility to allow authors to remove preScripts they have previously set.
* @memberOf AdventureJS.Game
* @method AdventureJS.Game#removePreScript
* @kind function
* @param {String} key The key of a previously defined prescript.
*/
p.removePreScript = function Game_removePreScript(key) {
if (this.pre_scripts[key]) delete this.pre_scripts[key];
};
})();