intercom

Procs | |
| local_powernet_check | Proc called whenever the intercom's local powernet loses or gains power. Responsible for setting the on variable and calling update_icon(). |
|---|---|
Proc Details
local_powernet_check
Proc called whenever the intercom's local powernet loses or gains power. Responsible for setting the on variable and calling update_icon().
Normally called after the intercom's local powernet sends the COMSIG_POWERNET_POWER_CHANGE signal, but it can also be called directly.
Arguments:
source - the area that just had a power change.