Skip to content

Commit

Permalink
Stores: Firecontrol will no longer output text to screen. Use HUD and…
Browse files Browse the repository at this point in the history
… MFD for info instead.
  • Loading branch information
NikolaiVChr committed May 18, 2024
1 parent 6be8ef7 commit d7808ac
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 186 deletions.
5 changes: 4 additions & 1 deletion Nasal/MFD/display-system.nas
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,10 @@ var DisplaySystem = {
if (me.pages[pageName] == nil) {print(me.device.name," page not found: ",pageName);return;}
me.wasSOI = me.device.soi == 1;# The ==1 must be here since soi can be -1 in the device
if (me["currPage"] != nil) {
if (me.pages[pageName] == me.currPage) {print(me.device.name," page wont switch to itself: ",pageName);return;}
if (me.pages[pageName] == me.currPage) {
#print(me.device.name," page wont switch to itself: ",pageName);
return;
}
if(me.currPage.needGroup) me.currPage.group.hide();
me.currPage.exit();
foreach(var layer; me.currPage.layers) {
Expand Down
Loading

0 comments on commit d7808ac

Please sign in to comment.