Skip to content

Commit f7f056b

Browse files
committed
Update nbnet client and server start calls after vendored nbnet update
1 parent a1fdd00 commit f7f056b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.sunder

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ func run_client(debug: bool, address: std::optional[[*byte]]) void {
216216
NBN_Driver_Init();
217217
var address = address.value();
218218
var port = 31415u16;
219-
if NBN_GameClient_StartEx(startof("natac"), address, port, false, std::ptr[[uint8_t]]::NULL, 0) < 0 {
219+
if NBN_GameClient_StartEx(startof("natac"), address, port, std::ptr[[uint8_t]]::NULL, 0) < 0 {
220220
std::print_line(std::err(), "error: failed to start the nbnet client");
221221
std::exit(std::EXIT_FAILURE);
222222
}
@@ -312,7 +312,7 @@ func run_server() void {
312312
var port = 31415u16;
313313
NBN_Log_SetIsEnabled(NBN_LogType::NBN_LOG_TRACE, false);
314314
NBN_Log_SetIsEnabled(NBN_LogType::NBN_LOG_DEBUG, false);
315-
if NBN_GameServer_StartEx(startof("natac"), port, false) < 0 {
315+
if NBN_GameServer_StartEx(startof("natac"), port) < 0 {
316316
std::print_line(std::err(), "error: failed to start the nbnet server");
317317
std::exit(std::EXIT_FAILURE);
318318
}

0 commit comments

Comments
 (0)