/tg/ Station 13 - Modules - TypesProc Details

medbeam

Procs

LoseTargetProc that always is called when we want to end the beam and makes sure things are cleaned up, see beam_died()
beam_diedProc that is only called when the beam fails due to something, so not when manually ended. manual disconnection = LoseTarget, so it can silently end automatic disconnection = beam_died, so we can give a warning message first

Proc Details

LoseTarget

Proc that always is called when we want to end the beam and makes sure things are cleaned up, see beam_died()

beam_died

Proc that is only called when the beam fails due to something, so not when manually ended. manual disconnection = LoseTarget, so it can silently end automatic disconnection = beam_died, so we can give a warning message first