mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
Fixed autoadmin when launching the game through dreamseeker (#17684)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user