mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
13 lines
342 B
Plaintext
13 lines
342 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 /obj/screen/movable/mapper_holder(null, owner))
|
|
..()
|
|
|
|
/datum/mini_hud/mapper/Destroy()
|
|
owner?.hud_item = null
|
|
owner?.hud_datum = null
|
|
return ..() |