Skip to content

Commit

Permalink
Dials PR back a bit, TODO'd internet_address & url
Browse files Browse the repository at this point in the history
  • Loading branch information
Altoids1 committed Oct 25, 2022
1 parent b28faed commit 1a1cf8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions DMCompiler/DMStandard/Types/World.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

var/address
var/port = 0
var/internet_address = "127.0.0.1"
var/url
var/internet_address = "127.0.0.1" as opendream_unimplemented
var/url as opendream_unimplemented
var/visibility = 0 as opendream_unimplemented
var/status as opendream_unimplemented
var/list/params = list() as opendream_unimplemented
Expand Down
7 changes: 1 addition & 6 deletions OpenDreamRuntime/Objects/MetaObjects/DreamMetaObjectWorld.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@ private IPAddress? InternetAddress
{
get
{
NetManager? net = (NetManager?)_netManager;
if(net == null) // This may be the case if we're on IntegrationNetManager instead of NetManager.
{ // If so, I don't really know how to force RT to fess up about what our IP is, since it's all hidden behind privates at time of writing.
return null;
}
return net.ServerChannel?.RemoteEndPoint.Address;
return null; //TODO: Implement this!
}
}

Expand Down

0 comments on commit 1a1cf8d

Please sign in to comment.