Skip to content

Commit

Permalink
Forces your screen icons back to their default positions when exiting…
Browse files Browse the repository at this point in the history
… overmap cameras (#2739)
  • Loading branch information
Bokkiewokkie authored Feb 15, 2025
1 parent 1aa1af6 commit b6d4cc4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nsv13/code/modules/overmap/camera.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@
if(M.client)
M.client.view_size.resetToDefault()
M.client.overmap_zoomout = 0
for(var/V in M.actions) //Reset action buttons to stop the screen from staying large
var/datum/action/A = V
var/atom/movable/screen/movable/action_button/B = A.button
B.moved = FALSE
M.update_action_buttons(TRUE)
var/mob/camera/ai_eye/remote/overmap_observer/eyeobj = M.remote_control
M.cancel_camera()
if(M.client) //Reset px, y
Expand Down

0 comments on commit b6d4cc4

Please sign in to comment.