diff --git a/code/modules/heavy_vehicle/mech_interaction.dm b/code/modules/heavy_vehicle/mech_interaction.dm index 3e78de029b5..de34ff921e4 100644 --- a/code/modules/heavy_vehicle/mech_interaction.dm +++ b/code/modules/heavy_vehicle/mech_interaction.dm @@ -82,9 +82,9 @@ if(user != src) set_intent(user.a_intent) if(user.zone_sel) - zone_sel.set_selected_zone(user.zone_sel.selecting) + zone_sel.set_selected_zone(user.zone_sel.selecting, user) else - zone_sel.set_selected_zone("chest") + zone_sel.set_selected_zone("chest", user) // You may attack the target with your exosuit FIST if you're malfunctioning. var/failed = FALSE diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 47ac096e0d0..1d21e27617b 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -1371,7 +1371,7 @@ if(!check_has_body_select()) return var/obj/screen/zone_sel/selector = mob.zone_sel - selector.set_selected_zone(next_in_list(mob.zone_sel.selecting,zones)) + selector.set_selected_zone(next_in_list(mob.zone_sel.selecting,zones), usr) /mob/proc/get_speech_bubble_state_modifier() return "default" diff --git a/html/changelogs/FluffyGhost-fixzoneselsignalruntime.yml b/html/changelogs/FluffyGhost-fixzoneselsignalruntime.yml new file mode 100644 index 00000000000..c710738b74f --- /dev/null +++ b/html/changelogs/FluffyGhost-fixzoneselsignalruntime.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: FluffyGhost + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "Fixed a runtime when switching the selection of target zone."