Skip to content

Commit

Permalink
fixed GetMapGoals null expr parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
plastovicka committed Jun 24, 2024
1 parent 095871b commit bda15f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 0.83/Omnibot/Common/gmBotLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,8 @@ int GM_CDECL GetMapGoals(gmThread *a_thread, Client *client)
}
}
break;
case GM_NULL:
break;
default:
GM_EXCEPTION_MSG("expecting param %d as string or int or table, got %s", p, GM_THREAD_ARG->ParamTypeName(p));
return GM_EXCEPTION;
Expand Down

0 comments on commit bda15f1

Please sign in to comment.