mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Update game_mode.dm (#25509)
This commit is contained in:
@@ -438,14 +438,14 @@
|
||||
|
||||
/proc/get_nuke_code()
|
||||
var/nukecode = "ERROR"
|
||||
for(var/obj/machinery/nuclearbomb/bomb in GLOB.machines)
|
||||
for(var/obj/machinery/nuclearbomb/bomb in GLOB.nuke_list)
|
||||
if(bomb && bomb.r_code && is_station_level(bomb.z))
|
||||
nukecode = bomb.r_code
|
||||
return nukecode
|
||||
|
||||
/proc/get_nuke_status()
|
||||
var/nuke_status = NUKE_MISSING
|
||||
for(var/obj/machinery/nuclearbomb/bomb in GLOB.machines)
|
||||
for(var/obj/machinery/nuclearbomb/bomb in GLOB.nuke_list)
|
||||
if(is_station_level(bomb.z))
|
||||
nuke_status = NUKE_CORE_MISSING
|
||||
if(bomb.core)
|
||||
|
||||
Reference in New Issue
Block a user