Skip to content

Commit

Permalink
[MIRROR] Fixes gravity generator hard del (#4824)
Browse files Browse the repository at this point in the history
* [MIRROR] Fixes gravity generator hard del [MDB IGNORE] (#4131)

* Fixes gravity generator hard del (#85390)

## About The Pull Request

Tin. 


![image](https://github.com/user-attachments/assets/4a64746a-1886-4148-9ac6-791d31046013)

## Why It's Good For The Game

Less hard dels is a good thing generally

## Changelog

Not player facing

* Fixes gravity generator hard del

---------

Co-authored-by: Bloop <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>

* [MIRROR] Fixes gravity generator hard del

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Bloop <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
Co-authored-by: StealsThePRs <[email protected]>
  • Loading branch information
5 people authored Jul 31, 2024
1 parent 5b67c3c commit 1e51cb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/power/gravitygenerator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ GLOBAL_LIST_EMPTY(gravity_generators)
/obj/machinery/gravity_generator/part/Destroy()
atom_break()
if(main_part)
main_part.generator_parts -= src
UnregisterSignal(main_part, COMSIG_ATOM_UPDATED_ICON)
main_part = null
return ..()
Expand Down

0 comments on commit 1e51cb0

Please sign in to comment.