@@ -33,20 +33,10 @@ function PANEL:Initialize()
33
33
self .m_pRLABEL :Dock (DOCK_TOP )
34
34
35
35
self .m_pSLIPPIREPLAY = self .m_pRIGHT :Add (" Checkbox" )
36
- self .m_pSLIPPIREPLAY :SetText (" Slippi Replay" )
36
+ self .m_pSLIPPIREPLAY :SetText (" Replay/Mirror " )
37
37
self .m_pSLIPPIREPLAY :Dock (DOCK_TOP )
38
38
39
- self .m_pSLIPPI = self .m_pRIGHT :Add (" Checkbox" )
40
- self .m_pSLIPPI :SetText (" Slippi Netplay" )
41
- self .m_pSLIPPI :Dock (DOCK_TOP )
42
-
43
- function self .m_pSLIPPI :OnToggle (on )
44
- self :GetParent ():GetParent ().m_pAUTOPORT :SetEnabled (on )
45
- self :GetParent ():GetParent ().m_pSLIPPINAME :SetEnabled (on )
46
- end
47
-
48
39
self .m_pAUTOPORT = self .m_pRIGHT :Add (" Checkbox" )
49
- self .m_pAUTOPORT :SetEnabled (false )
50
40
self .m_pAUTOPORT :SetText (" Detect port" )
51
41
self .m_pAUTOPORT :Dock (DOCK_TOP )
52
42
110
100
function PANEL :GetSaveTable ()
111
101
return {
112
102
[" slippi-replay" ] = self :IsSlippiReplay (),
113
- [" slippi-netplay" ] = self :IsSlippiNetplay (),
114
103
[" slippi-auto-detect-port" ] = self :IsSlippiAutoPortEnabled (),
115
104
[" slippi-username" ] = self :GetSlippiUsername (),
116
105
[" port-in-title" ] = self :IsPortTitleEnabled (),
@@ -125,10 +114,6 @@ function PANEL:IsSlippiReplay()
125
114
return self .m_pSLIPPIREPLAY :IsToggled ()
126
115
end
127
116
128
- function PANEL :IsSlippiNetplay ()
129
- return self .m_pSLIPPI :IsToggled ()
130
- end
131
-
132
117
function PANEL :IsSlippiAutoPortEnabled ()
133
118
return self .m_pAUTOPORT :IsToggled ()
134
119
end
@@ -176,7 +161,6 @@ function PANEL:LoadSettings()
176
161
local settings = json .decode (f :read ())
177
162
f :close ()
178
163
self .m_pSLIPPIREPLAY :SetToggle (settings [" slippi-replay" ] or false )
179
- self .m_pSLIPPI :SetToggle (settings [" slippi-netplay" ] or false )
180
164
self .m_pAUTOPORT :SetToggle (settings [" slippi-auto-detect-port" ] or false )
181
165
self .m_pSLIPPINAME :SetText (settings [" slippi-username" ] or " " )
182
166
self .m_pPORTTITLE :SetToggle (settings [" port-in-title" ] or false )
0 commit comments