Skip to content

Commit

Permalink
fullscreen fixes (#16436)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon authored and Helg2 committed Aug 7, 2024
1 parent dfef2f9 commit 67e5954
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions code/_onclick/hud/fullscreen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
// needs to be recreated
clear_fullscreen(category, 0)
fullscreens[category] = screen = new type()
return screen

animate(screen)
deltimer(screen.removal_timer)
screen.removal_timer = null
screen.alpha = initial(screen.alpha)
if((!severity || severity == screen.severity) && (!client || screen.screen_loc != "CENTER-7,CENTER-7" || screen.fs_view == client.view))
return screen
else
animate(screen)
deltimer(screen.removal_timer)
screen.removal_timer = null
screen.alpha = initial(screen.alpha)
if((!severity || severity == screen.severity) && (!client || screen.screen_loc != "CENTER-7,CENTER-7" || screen.fs_view == client.view))
return screen

screen.icon_state = "[initial(screen.icon_state)][severity]"
screen.severity = severity
Expand Down

0 comments on commit 67e5954

Please sign in to comment.