DataModel jobId fix
This commit is contained in:
parent
5dacb11496
commit
3105c711de
|
|
@ -10,7 +10,7 @@ DataModel__getJobId_t DataModel__getJobId = (DataModel__getJobId_t)ADDRESS_DATAM
|
||||||
|
|
||||||
int __fastcall DataModel__getJobId_hook(DataModel* _this, void*, int a2)
|
int __fastcall DataModel__getJobId_hook(DataModel* _this, void*, int a2)
|
||||||
{
|
{
|
||||||
if (!setJobId && hasJobIdArg && !jobId.empty())
|
if (!setJobId && hasJobId && !jobId.empty())
|
||||||
{
|
{
|
||||||
_this->jobId = Helpers::ws2s(jobId);
|
_this->jobId = Helpers::ws2s(jobId);
|
||||||
setJobId = true;
|
setJobId = true;
|
||||||
|
|
|
||||||
|
|
@ -44,4 +44,4 @@ extern CRobloxApp__InitInstance_t CRobloxApp__InitInstance;
|
||||||
extern CRobloxCommandLineInfo__ParseParam_t CRobloxCommandLineInfo__ParseParam;
|
extern CRobloxCommandLineInfo__ParseParam_t CRobloxCommandLineInfo__ParseParam;
|
||||||
|
|
||||||
extern std::wstring jobId;
|
extern std::wstring jobId;
|
||||||
extern bool hasJobIdArg;
|
extern bool hasJobId;
|
||||||
Loading…
Reference in New Issue