Fixed autoadmin when launching the game through dreamseeker (#17684)

This commit is contained in:
DamianX
2022-04-27 20:33:10 +01:00
committed by GitHub
parent 6daf1654a6
commit 649717bf22
+2 -2
View File
@@ -396,8 +396,8 @@
/client/proc/is_connecting_from_localhost()
var/localhost_addresses = list("127.0.0.1", "::1") // Adresses
if(!isnull(address) && (address in localhost_addresses))
var/static/list/localhost_addresses = list("127.0.0.1", "::1")
if((!address && !world.port) || (address in localhost_addresses))
return TRUE
return FALSE