Files
Bubberstation/code/modules
SkyratBot 8ecd289e3d [MIRROR] HFR: Fix activation after deconstruction (#2785)
* HFR: Fix activation after deconstruction (#56249)

core/var/corners is assumed to be a list at all times.

Previously, deconstructing then reconstructing the HFR would get one
stuck where:
 - "Activate the machine first by using a multitool on the interface." when attempting to use the interface
 - "You already activated the machine" when attempting to use a multitool on the interface

All components, except the core, would show as correctly inactive.

This situation can be worked around by deconstructing and reconstructing
the core, or varediting the core to have active = 0 and corners = list().

This fixes runtimes of the form:
> [21:03:06] Runtime in hypertorus.dm,368: type mismatch: 0 |= HFR corner (/obj/machinery/hypertorus/corner)
>   proc name: check part connectivity (/obj/machinery/atmospherics/components/unary/hypertorus/core/proc/check_part_connectivity)

* HFR: Fix activation after deconstruction

Co-authored-by: esainane <esainane+github@gmail.com>
2021-01-19 10:36:36 +00:00
..
2021-01-08 18:52:35 +01:00
2021-01-09 13:51:14 +00:00