mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fix holodeck gravity (#29017)
* Update gravitygenerator.dm * always adds holodeck areas to grave gen areas
This commit is contained in:
@@ -67,7 +67,9 @@ GLOBAL_LIST_EMPTY(gravity_generators)
|
||||
parent_area_type = machine_area.get_top_parent_type()
|
||||
if(parent_area_type)
|
||||
areas = typesof(parent_area_type)
|
||||
|
||||
// Holodecks have thier own areas and we don't have a way of knowing if we have one.
|
||||
// This means the grav gen will affect all holodeck areas in the Z-level, regardless of where in it they are.
|
||||
areas |= typesof(/area/holodeck)
|
||||
update_gen_list()
|
||||
set_power()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user