Skip to content

Commit

Permalink
Fix gamma+ sec level runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts committed Jan 25, 2025
1 parent e089a0c commit bd52717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modular_ss220/balance/code/items/radio.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GLOBAL_LIST_INIT(radios_broadcasting_common, list(
/obj/item/radio/handle_message_mode(mob/living/M, list/message_pieces, message_mode)
// Check if it can be send to common.
if(!message_mode || message_mode == "headset")
if(!can_broadcast_into_common && SSsecurity_level.current_security_level < SEC_LEVEL_GAMMA)
if(!can_broadcast_into_common && SSsecurity_level.current_security_level.number_level < SEC_LEVEL_GAMMA)
return RADIO_CONNECTION_FAIL
return ..()

Expand Down

0 comments on commit bd52717

Please sign in to comment.