Skip to content

Commit

Permalink
args fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xLPMG committed Jan 16, 2024
1 parent f028eb5 commit 46a7576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int i_argc, char *i_argv[])
simulator = new tsunami_lab::Simulator;

#ifndef DNOSERVER
if (i_argc > 2)
if (i_argc >= 2)
{
m_PORT = atoi(i_argv[1]);
}
Expand Down

0 comments on commit 46a7576

Please sign in to comment.