Fixed havocmayhem getAugmentationPrereq() conflicts

This commit is contained in:
danielyxie 2018-12-30 16:36:44 -08:00
parent a1785e643a
commit 56a727ae48
3 changed files with 3 additions and 3 deletions

@ -557,7 +557,7 @@ getAugmentationsFromFaction
Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction.
getAugmentationPrereq
-------------------
---------------------
.. js:function:: getAugmentationPrereq(augName)

@ -519,7 +519,7 @@ export let CONSTANTS: IMap<any> = {
** Slightly reduced the effect "Real Estate" has on the Production Multiplier for the Agriculture industry
* Added getOrders() Netscript function to the TIX API
*
* Added getAugmentationPrereq() Singularity function (by havocmayhem)
* Stock Market, Travel, and Corporation main menu links are now properly styled
* Many pop-up/dialog boxes now support the 'Enter' and 'Esc' hotkeys. If you find a pop-up/dialog box that doesnt support this, let me know specifically which one ('Enter' for the default option, 'Esc' for cancelling and closing the pop-up box)
* Added "brace_style = preserve_inline" configuration to Script Editor Beautifier

@ -3626,7 +3626,7 @@ function NetscriptFunctions(workerScript) {
}
var aug = Augmentations[name];
return aug.prereqs;
return aug.prereqs.slice();
},
getAugmentationCost : function(name) {
var ramCost = CONSTANTS.ScriptSingularityFn3RamCost;