Migrate to Open.Nat version 2.0.16
Move the dependency from all libraries to game engine only. Initialize after the renderer setup to ensure a visible window.
This commit is contained in:
@@ -630,7 +630,6 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
var gs = Game.Settings.Game;
|
||||
|
||||
BindCheckboxPref(panel, "NAT_DISCOVERY", ss, "DiscoverNatDevices");
|
||||
BindCheckboxPref(panel, "VERBOSE_NAT_CHECKBOX", ss, "VerboseNatDiscovery");
|
||||
BindCheckboxPref(panel, "PERFTEXT_CHECKBOX", ds, "PerfText");
|
||||
BindCheckboxPref(panel, "PERFGRAPH_CHECKBOX", ds, "PerfGraph");
|
||||
BindCheckboxPref(panel, "CHECKUNSYNCED_CHECKBOX", ds, "SanityCheckUnsyncedCode");
|
||||
@@ -652,7 +651,6 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
return () =>
|
||||
{
|
||||
ss.DiscoverNatDevices = dss.DiscoverNatDevices;
|
||||
ss.VerboseNatDiscovery = dss.VerboseNatDiscovery;
|
||||
ds.PerfText = dds.PerfText;
|
||||
ds.PerfGraph = dds.PerfGraph;
|
||||
ds.SanityCheckUnsyncedCode = dds.SanityCheckUnsyncedCode;
|
||||
|
||||
Reference in New Issue
Block a user