mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Removes unneeded check
This commit is contained in:
@@ -393,9 +393,8 @@ GLOBAL_LIST_EMPTY(gravity_generators)
|
||||
if(!(M.z in levels))
|
||||
continue
|
||||
M.update_gravity(M.mob_has_gravity())
|
||||
if(M.client)
|
||||
shake_camera(M, 15, 1)
|
||||
M.playsound_local(src, null, 50, 1, 0.5, S = alert_sound)
|
||||
shake_camera(M, 15, 1)
|
||||
M.playsound_local(src, null, 50, 1, 0.5, S = alert_sound)
|
||||
|
||||
/obj/machinery/gravity_generator/main/proc/gravity_in_level()
|
||||
var/my_z = get_z(src)
|
||||
|
||||
Reference in New Issue
Block a user