mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Update prompt message content
This commit is contained in:
parent
bc50f5180a
commit
99ef71de4a
@ -702,7 +702,8 @@ export function Root(props: IProps): React.ReactElement {
|
|||||||
|
|
||||||
if (openScript.code !== serverScriptCode) {
|
if (openScript.code !== serverScriptCode) {
|
||||||
PromptEvent.emit({
|
PromptEvent.emit({
|
||||||
txt: "Do you want to overwrite " + openScript.fileName + " with the contents saved on the server? This cannot be undone.",
|
txt: "Do you want to overwrite the current editor content with the contents of " +
|
||||||
|
openScript.fileName + " on the server? This cannot be undone.",
|
||||||
resolve: (result: boolean) => {
|
resolve: (result: boolean) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
// Save changes
|
// Save changes
|
||||||
|
Loading…
Reference in New Issue
Block a user