mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 03:21:13 +01:00
Fixes PDA Chat Client not working properly after PDA loses charge (#19157)
fixes https://github.com/Aurorastation/Aurora.3/issues/19156 tl;dr: chat client is supposed to try turning the service back on automatically when you open it, but it was only doing that if manually disabled, which is a different state. this makes it do it if it's killed (like via running out of charge) or disabled manually - bugfix: "Fixed PDA Chat Client not working properly after a PDA loses charge."
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
else
|
||||
if((!computer.registered_id && !computer.register_account(src)))
|
||||
return
|
||||
if(service_state == PROGRAM_STATE_DISABLED)
|
||||
if(service_state <= PROGRAM_STATE_KILLED) // Killed or disabled.
|
||||
computer.enable_service(null, user, src)
|
||||
if(computer.hidden_uplink && syndi_auth)
|
||||
if(alert(user, "Resume or close and secure?", filedesc, "Resume", "Close") == "Resume")
|
||||
|
||||
Reference in New Issue
Block a user