Files
VOREStation/code/_onclick/hud/minihud_mapper.dm
T
Kashargul 45bd1930ec obj screen to atom movable screen (#18434)
* obj screen to atom movable screen

* .
2025-09-22 00:31:30 +02:00

14 lines
331 B
Plaintext

// Specific types
/datum/mini_hud/mapper
var/obj/item/mapping_unit/owner
/datum/mini_hud/mapper/New(var/datum/hud/other, owner)
src.owner = owner
screenobjs = list(new /atom/movable/screen/movable/mapper_holder(null, owner))
..()
/datum/mini_hud/mapper/Destroy()
owner?.hud_item = null
owner?.hud_datum = null
return ..()