Fixes infinite loop in bitrunning (#79194)

## About The Pull Request
Clears up some functionality in netpod disconnect cases that lead to an
infinite loop

Also fixes an errant message from #78959
## Why It's Good For The Game
Fixes #79190

## Changelog
🆑
fix: Entering a virtual domain should no longer give you a message that
it doesn't forbid items
/🆑

---------

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
Jeremiah
2023-10-23 23:22:25 +01:00
committed by GitHub
co-authored by Mothblocks
parent ec8e8f193a
commit 83e6cc517b
5 changed files with 90 additions and 111 deletions
@@ -85,7 +85,8 @@
if(domain_forbids_spells)
import_ban += "imported_abilities"
disk_ban += "powers"
if(import_ban)
if(length(import_ban))
to_chat(neo, span_warning("This domain forbids the use of [english_list(import_ban)], your disk [english_list(disk_ban)] will not be granted!"))
var/failed = FALSE