Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
theastropath committed Jun 24, 2023
2 parents 5cf1657 + ebb2ad2 commit 396cca4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion DXRNonVanilla/DeusEx/Classes/DXRComputerScreenEmail.uc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function ProcessDeusExText(Name textName, optional TextWindow winText)
{
local DXREvents e;

addNote = False;
addNote = True;

foreach player.AllActors(class'DXREvents', e) {
e.ReadText(textName);
Expand Down Expand Up @@ -63,6 +63,8 @@ function TryAddingNote(string text)
local DeusExNote note;
local DeusExRootWindow rootWindow;

if(Len(text)==0) return;

rootWindow = DeusExRootWindow(player.rootWindow);

mapname = GetMapNameStripped();
Expand Down
4 changes: 3 additions & 1 deletion DXRVanilla/DeusEx/Classes/ComputerUIWindow.uc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function ProcessDeusExText(Name textName, optional TextWindow winText)
local DXREvents e;
local int i;

addNote = False;
addNote = True;
for(i=0; i<ArrayCount(updated_passwords); i++) {
updated_passwords[i] = "";
}
Expand Down Expand Up @@ -67,6 +67,8 @@ function TryAddingNote(string text)
local DeusExRootWindow rootWindow;
local int i;

if(Len(text)==0) return;

rootWindow = DeusExRootWindow(player.rootWindow);

mapname = GetMapNameStripped();
Expand Down

0 comments on commit 396cca4

Please sign in to comment.