1
This commit is contained in:
parent
93bf78c17f
commit
2aac0613d9
@ -1,5 +1,6 @@
|
|||||||
#include "precompile.h"
|
#include "precompile.h"
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
#include <a8/uuid.h>
|
#include <a8/uuid.h>
|
||||||
|
|
||||||
#include <f8/netmsghandler.h>
|
#include <f8/netmsghandler.h>
|
||||||
@ -110,7 +111,7 @@ void App::DispatchSocketMsg(f8::MsgHdr* hdr)
|
|||||||
int App::GetGameId() const
|
int App::GetGameId() const
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
std::string game_id = a8::XValue(getenv("_")).GetString();
|
std::string game_id = a8::XValue((f8::App::Instance()->GetArgv())[0]).GetString();
|
||||||
a8::ReplaceString(game_id, "./masterserver", "");
|
a8::ReplaceString(game_id, "./masterserver", "");
|
||||||
return a8::XValue(game_id);
|
return a8::XValue(game_id);
|
||||||
#else
|
#else
|
||||||
|
2
third_party/f8
vendored
2
third_party/f8
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 7330fde606adbaf606ae19ea27637affe51d6cf0
|
Subproject commit 99b05bc4ad2c8779017f6c5ef5873c24229035bc
|
Loading…
x
Reference in New Issue
Block a user