Skip to content

Commit

Permalink
Commended Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LC4492 committed Jul 28, 2024
1 parent 8f023f3 commit 796b30b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/modules/cm_marines/altitude_control_console.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ GLOBAL_VAR_INIT(ship_alt, SHIP_ALT_MED)
unacidable = TRUE
breakable = FALSE

/obj/structure/machinery/computer/altitude_control_console/ex_act()
return

/obj/structure/machinery/computer/altitude_control_console/attack_hand()
. = ..()
if(!skillcheck(usr, SKILL_NAVIGATIONS, SKILL_NAVIGATIONS_TRAINED))
Expand Down Expand Up @@ -130,8 +133,7 @@ GLOBAL_VAR_INIT(ship_alt, SHIP_ALT_MED)
/obj/structure/machinery/computer/altitude_control_console/proc/change_altitude(mob/user, new_altitude)
if(GLOB.ship_alt == new_altitude)
return
else
GLOB.ship_alt = new_altitude
if(GLOB.ship_alt = new_altitude)
TIMER_COOLDOWN_START(src, COOLDOWN_ALTITUDE_CHANGE, 90 SECONDS)
for(var/mob/living/carbon/current_mob in GLOB.living_mob_list)
if(!is_mainship_level(current_mob.z))
Expand Down

0 comments on commit 796b30b

Please sign in to comment.