Skip to content

Commit

Permalink
[MIRROR] Fixes modular computer boot-up (#2603)
Browse files Browse the repository at this point in the history
* Fixes modular computer boot-up

* Prepare for merge master

* restore mirror

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: lessthanthree <[email protected]>
Co-authored-by: SomeRandomOwl <[email protected]>
Co-authored-by: Iajret <[email protected]>
  • Loading branch information
5 people authored Mar 28, 2024
1 parent 8229ca6 commit 861af9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/modular_computers/computers/item/computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@
to_chat(user, span_warning("You press the power button, but the computer fails to boot up, displaying variety of errors before shutting down again."))
return FALSE

if(use_energy()) // checks if the PC is powered
if(use_energy(base_active_power_usage)) // checks if the PC is powered
if(looping_sound)
soundloop.start()
enabled = TRUE
Expand Down

0 comments on commit 861af9d

Please sign in to comment.