Skip to content

Commit

Permalink
Should fix some screen elements being manipulated
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Sep 8, 2023
1 parent 76398af commit 5e4c190
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions code/_onclick/hud/screen_objects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

/atom/movable/screen/zone_sel/clicked(mob/user, list/mods)
if (..())
return 1
return TRUE

var/icon_x = text2num(mods["icon-x"])
var/icon_y = text2num(mods["icon-y"])
Expand Down Expand Up @@ -209,7 +209,11 @@
icon = 'icons/mob/hud/screen1_robot.dmi'

/atom/movable/screen/clicked(mob/user)
if(!user) return 1
if(!user)
return TRUE

if(isobserver(user))
return TRUE

switch(name)
if("equip")
Expand Down

0 comments on commit 5e4c190

Please sign in to comment.