Fixes cyborgs who were emagged before picking a module correctly getting their items emagged (#30114)

This commit is contained in:
1080pCat
2025-08-16 22:47:28 +10:00
committed by GitHub
parent 633763c403
commit c49dcc9d0e
@@ -678,6 +678,8 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
module.add_languages(src)
module.add_armor(src)
module.add_subsystems_and_actions(src)
if(emagged)
module.emag_act(src)
if(!static_radio_channels)
radio.config(module.channels)
rename_character(real_name, get_default_name())