Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Фикс рантайма медсканнера #253

Merged
merged 2 commits into from
Sep 8, 2024

Conversation

Waselon
Copy link
Collaborator

@Waselon Waselon commented Sep 8, 2024

Фикс рантайма при использовании медсканнера на робота.

RUNTIME: runtime error: Cannot read null.reagents
 - proc name: ui static data (/obj/item/healthanalyzer/ui_static_data)
 -   source file: code/game/objects/items/scanners.dm,197
 -   usr: Pepa (/mob/living/carbon/human/species/synthetic)
 -   src: the HF2 Medical Gloves (/obj/item/healthanalyzer/gloves)
 -   usr.loc: the cave (136,72,2) (/turf/open/floor/plating/ground/mars/random/cave)
 -   src.loc: Pepa (/mob/living/carbon/human/species/synthetic)
 -   call stack:
 - the HF2 Medical Gloves (/obj/item/healthanalyzer/gloves): ui static data(Pepa (/mob/living/carbon/human/species/synthetic))
 - /datum/tgui (/datum/tgui): get payload(null, 1, 1)
 - /datum/tgui (/datum/tgui): open()
 - the HF2 Medical Gloves (/obj/item/healthanalyzer/gloves): ui interact(Pepa (/mob/living/carbon/human/species/synthetic), /datum/tgui (/datum/tgui))
 - the HF2 Medical Gloves (/obj/item/healthanalyzer/gloves): analyze vitals(Toaster (/mob/living/carbon/human/species/robot), Pepa (/mob/living/carbon/human/species/synthetic), null)
 - the HF2 Medical Gloves (/obj/item/healthanalyzer/gloves): on unarmed attack(Pepa (/mob/living/carbon/human/species/synthetic), Toaster (/mob/living/carbon/human/species/robot))
 - Pepa (/mob/living/carbon/human/species/synthetic):  SendSignal("human_melee_unarmed_attack", /list (/list))
 - Pepa (/mob/living/carbon/human/species/synthetic): UnarmedAttack(Toaster (/mob/living/carbon/human/species/robot), 1, /list (/list))
 - Pepa (/mob/living/carbon/human/species/synthetic): ClickOn(Toaster (/mob/living/carbon/human/species/robot), the cave (137,72,2) (/turf/open/floor/plating/ground/mars/random/cave), "icon-x=12;icon-y=16;vis-x=17;v...")
 - Toaster (/mob/living/carbon/human/species/robot): Click(the cave (137,72,2) (/turf/open/floor/plating/ground/mars/random/cave), "mapwindow.map", "icon-x=12;icon-y=16;vis-x=17;v...")

Signed-off-by: Waselon <[email protected]>
@Tatarla Tatarla added the Fix Исправление или правка. label Sep 8, 2024
@Tatarla Tatarla assigned Helg2 and homexp13 and unassigned homexp13 and Helg2 Sep 8, 2024
@Tatarla Tatarla requested review from Helg2 and homexp13 September 8, 2024 08:26
Signed-off-by: Waselon <[email protected]>
@Tatarla Tatarla merged commit dd1abf3 into PMC-Unga-Marines:master Sep 8, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Исправление или правка.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants