Skip to content

Commit

Permalink
Update code/game/objects/items/tools/misc_tools.dm
Browse files Browse the repository at this point in the history
Co-authored-by: harryob <[email protected]>
  • Loading branch information
Hopekz and harryob authored Jul 22, 2023
1 parent 984e275 commit 3ed5d20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/game/objects/items/tools/misc_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,11 @@
/obj/item/tool/pen/fountain/Initialize(mapload, mob/living/carbon/human/user)
. = ..()
var/turf/current_turf = get_turf(src)
if(locate(/mob/living/carbon/human) in current_turf)
var/mob/new_owner = (locate(/mob/living/carbon/human) in current_turf)
var/mob/living/carbon/human/new_owner = locate() in current_turf
if(new_owner)
owner = new_owner.real_name
if(locate(/obj/structure/machinery/cryopod) in current_turf)
var/obj/structure/machinery/cryopod/new_owners_pod = (locate(/obj/structure/machinery/cryopod) in current_turf)
var/obj/structure/machinery/cryopod/new_owners_pod = locate() in current_turf
if(new_owners_pod)
owner = new_owners_pod.occupant.real_name

/obj/item/tool/pen/fountain/get_examine_text(mob/user)
Expand Down

0 comments on commit 3ed5d20

Please sign in to comment.