Fix uplinks being inaccessible off-Horizon (#13880)

This commit is contained in:
Wildkins
2022-05-10 14:49:00 -04:00
committed by GitHub
parent 09742adec2
commit 71f0ea2056
3 changed files with 19 additions and 10 deletions

View File

@@ -4,7 +4,7 @@
program_icon_state = "generic"
extended_desc = "This program allows communication over the NTRC network."
size = 2
requires_ntnet = TRUE
requires_ntnet = FALSE
requires_ntnet_feature = NTNET_COMMUNICATION
program_type = PROGRAM_TYPE_ALL
network_destination = "NTRC server"
@@ -60,6 +60,7 @@
return
// Following actions require signal
if(!get_signal(NTNET_COMMUNICATION))
to_chat(usr, FONT_SMALL(SPAN_WARNING("\The [src] displays, \"NETWORK ERROR - Unable to connect to NTNet. Please retry. If problem persists, contact your system administrator.\".")))
return
if(href_list["send"])
@@ -272,4 +273,4 @@
if(src in my_user.clients)
my_user.clients.Remove(src)
if(src in ntnet_global.chat_clients)
ntnet_global.chat_clients.Remove(src)
ntnet_global.chat_clients.Remove(src)