styling fixes

This commit is contained in:
Fox McCloud
2020-07-22 17:19:45 -04:00
parent 7585a2060b
commit 6744e281a2
2 changed files with 8 additions and 8 deletions
+1 -2
View File
@@ -291,8 +291,7 @@
/**
* Called when the area power status changes
*
* Updates the area icon and calls power change on all machinees in the area
* Updates the area icon, calls power change on all machinees in the area, and sends the `COMSIG_AREA_POWER_CHANGE` signal.
* Updates the area icon, calls power change on all machines in the area, and sends the `COMSIG_AREA_POWER_CHANGE` signal.
*/
/area/proc/power_change()
for(var/obj/machinery/M in src) // for each machine in the area
@@ -225,12 +225,13 @@
UnregisterSignal(current_area, COMSIG_AREA_POWER_CHANGE)
/**
* Proc called whenever the intercom's area loses or gains power. Responsible for setting the `on` variable and calling `update_icon()`.
*
* Normally called after the intercom's area recieves the `COMSIG_AREA_POWER_CHANGE` signal, but it can also be called directly.
* Arguments:
* * source - the area that just had a power change.
*/
* Proc called whenever the intercom's area loses or gains power. Responsible for setting the `on` variable and calling `update_icon()`.
*
* Normally called after the intercom's area recieves the `COMSIG_AREA_POWER_CHANGE` signal, but it can also be called directly.
* Arguments:
*
* source - the area that just had a power change.
*/
/obj/item/radio/intercom/proc/AreaPowerCheck(datum/source)
var/area/current_area = get_area(src)
if(!current_area)