From d4462756fe4fee2a62d93af67239680f2843a715 Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Sat, 11 Sep 2021 13:32:08 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> --- code/game/gamemodes/game_mode.dm | 2 +- code/modules/admin/verbs/pray.dm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index 66a6a25aae9..7411622d358 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -440,7 +440,7 @@ /proc/get_nuke_status() var/nuke_status = NUKE_MISSING for(var/obj/machinery/nuclearbomb/bomb in GLOB.machines) - if(bomb && is_station_level(bomb.z)) + if(is_station_level(bomb.z)) nuke_status = NUKE_CORE_MISSING if(bomb.core) nuke_status = NUKE_INTACT diff --git a/code/modules/admin/verbs/pray.dm b/code/modules/admin/verbs/pray.dm index f8ed40c5767..cde40152370 100644 --- a/code/modules/admin/verbs/pray.dm +++ b/code/modules/admin/verbs/pray.dm @@ -83,11 +83,11 @@ if(check_rights(R_EVENT,0,X.mob)) to_chat(X, msg) if(nuke_status == NUKE_MISSING) - to_chat(X, "Nuclear device is not on station!") + to_chat(X, "Nuclear device is not on station!") else - to_chat(X, "The nuke code is [nuke_code].") + to_chat(X, "The nuke code is [nuke_code].") if(nuke_status == NUKE_CORE_MISSING) - to_chat(X, "Nuclear device does not have a core, and will not arm!") + to_chat(X, "Nuclear device does not have a core, and will not arm!") if(X.prefs.sound & SOUND_ADMINHELP) SEND_SOUND(X, sound('sound/effects/adminhelp.ogg'))