mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-14 19:51:59 +00:00
Fixes modular computer boot-up (#82254)
## About The Pull Request Fixes a bug where modular computers (specifically PDAs) will fail to start up if there is zero required application power draw. PDA will now consume base active power usage during startup. Related https://github.com/tgstation/tgstation/issues/82196 Fixes https://github.com/tgstation/tgstation/issues/82245 Fixes https://github.com/tgstation/tgstation/issues/82229 ## Changelog 🆑 LT3 fix: Fixed modular computers failing to boot up using cell power (eg: contractor tablet) /🆑
This commit is contained in:
@@ -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."))
|
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
|
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)
|
if(looping_sound)
|
||||||
soundloop.start()
|
soundloop.start()
|
||||||
enabled = TRUE
|
enabled = TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user