Refactors revolution code to be a little less of a mess (#20327)

* Refactors revolution code

* Ad comment to transit_z

* Add heads check to transit_z

* Rename parameter in transit_z

* Fix duplicate definition of latespawn

* Remove unused check_counter var

* Apply suggestions from code review from Sirryan2002

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

* Added early return to conversion proc

* Apply suggestions from code review

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
Co-authored-by: Farie82 <farie82@users.noreply.github.com>

---------

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
Adrer
2023-03-04 09:22:23 +01:00
committed by GitHub
parent b33d6aa080
commit 732914dda7
4 changed files with 86 additions and 105 deletions
+1
View File
@@ -1084,6 +1084,7 @@
/mob/living/onTransitZ(old_z,new_z)
..()
update_z(new_z)
SSticker.mode.transit_z(src)
/mob/living/rad_act(amount)
. = ..()