Skip to content

Commit

Permalink
[MIRROR] Removes shoddy 'active' state for holopads that was causing …
Browse files Browse the repository at this point in the history
…negative power draw.
  • Loading branch information
Thera-Pissed authored and MysticalFaceLesS committed Jun 21, 2024
1 parent 0757929 commit 2044b3d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions code/game/machinery/hologram.dm
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,7 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/

/obj/machinery/holopad/proc/SetLightsAndPower()
var/total_users = LAZYLEN(masters) + LAZYLEN(holo_calls)
if(total_users > 0)
set_active_power()
else
set_idle_power()
active_power_usage = initial(active_power_usage) * total_users
//active_power_usage = initial(active_power_usage) * total_users
if(total_users || replay_mode)
set_light(2)
else
Expand Down

0 comments on commit 2044b3d

Please sign in to comment.