Fixes the gravity generator (#3590)

Fixes the gravity generator using the wrong processing, the event not working, and overlays.
Closes #3589
This commit is contained in:
Ron
2017-10-06 18:26:44 -05:00
committed by Lohikar
parent 8db472ae15
commit 153fd130de
2 changed files with 12 additions and 16 deletions
-10
View File
@@ -13,13 +13,3 @@
for(var/A in SSmachinery.gravity_generators)
var/obj/machinery/gravity_generator/main/B = A
B.eventshutofftoggle()
/datum/event/gravity/end()
if(!gravity_is_on)
gravity_is_on = 1
for(var/A in SSmachinery.gravity_generators)
var/obj/machinery/gravity_generator/main/B = A
B.eventshutofftoggle()
command_announcement.Announce("Gravity generators are again functioning within normal parameters. Sorry for any inconvenience.", "Gravity Restored")