Skip to content

Commit

Permalink
[MIRROR] Fixes Radial menu in exosuits
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelbassil authored and SuhEugene committed Jan 28, 2024
1 parent ba474da commit 541849b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/_onclick/hud/radial.dm
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ var/global/list/radial_menus = list()
/proc/show_radial_menu(mob/user, atom/anchor, list/choices, uniqueid, radius, datum/callback/custom_check, require_near = FALSE, tooltips = FALSE, no_repeat_close = FALSE, list/check_locs, use_labels = FALSE)
if(!user || !anchor || !length(choices))
return
if (istype(user.loc, /mob/living/exosuit))
anchor = user.loc
if(!uniqueid)
uniqueid = "defmenu_[any2ref(user)]_[any2ref(anchor)]"

Expand Down

0 comments on commit 541849b

Please sign in to comment.