mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
2.2
This commit is contained in:
@@ -105,7 +105,8 @@ export function removedFunction(version: string, replacement: string, replaceMsg
|
||||
return (ctx: NetscriptContext) => {
|
||||
throw helpers.makeRuntimeErrorMsg(
|
||||
ctx,
|
||||
`Function removed in ${version}. ` + replaceMsg ? replacement : `Please use ${replacement} instead.`,
|
||||
`Function removed in ${version}. ${replaceMsg ? replacement : `Please use ${replacement} instead.`}`,
|
||||
"REMOVED FUNCTION",
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user