Commit aeb59c1
committed
fix: load LuaSocket/socket.lua from base VFS in LuaMenu (fixes lobby networking)
CLuaMenu::InitLuaSocket looked for 'socket.lua' in the default VFS, which
never resolved, so the menu/lobby's LuaSocket never initialised and Chobby
logged 'Error loading socket.lua' and could not connect to multiplayer
servers. socket.lua actually ships in springcontent.sdz at
LuaSocket/socket.lua; load it from SPRING_VFS_BASE with a FileExists guard,
matching CLuaUI::InitLuaSocket.1 parent 66c40e1 commit aeb59c1
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
142 | 152 | | |
143 | 153 | | |
144 | 154 | | |
| |||
0 commit comments