Skip to content

Commit

Permalink
preview sticks around after screen is cleared (#6396)
Browse files Browse the repository at this point in the history
🆑
fix: the preview window in character setup now remains visible when
looking at it as a ghost
/🆑
  • Loading branch information
harryob committed Jun 14, 2024
1 parent 139db14 commit 6b4a89f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/mob/new_player/preferences_setup.dm
Original file line number Diff line number Diff line change
Expand Up @@ -211,20 +211,20 @@

if(isnull(preview_front))
preview_front = new()
owner.add_to_screen(preview_front)
preview_front.vis_contents += preview_dummy
preview_front.screen_loc = "preview:0,0"
preview_front.icon_state = bg_state
owner.add_to_screen(preview_front)

if(isnull(rotate_left))
rotate_left = new(null, preview_dummy)
owner.add_to_screen(rotate_left)
rotate_left.screen_loc = "preview:-1:16,0"
owner.add_to_screen(rotate_left)

if(isnull(rotate_right))
rotate_right = new(null, preview_dummy)
owner.add_to_screen(rotate_right)
rotate_right.screen_loc = "preview:1:-16,0"
owner.add_to_screen(rotate_right)

/datum/preferences/proc/job_pref_to_gear_preset()
var/high_priority
Expand Down

0 comments on commit 6b4a89f

Please sign in to comment.