1
This commit is contained in:
parent
80ce110950
commit
7db07b904c
@ -109,5 +109,11 @@ void App::DispatchSocketMsg(f8::MsgHdr* hdr)
|
||||
|
||||
int App::GetGameId() const
|
||||
{
|
||||
#ifdef DEBUG
|
||||
std::string game_id = a8::XValue(getenv("_")).GetString();
|
||||
a8::ReplaceString(game_id, "./masterserver", "");
|
||||
return a8::XValue(game_id);
|
||||
#else
|
||||
return GAME_ID;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user