Skip to content

Commit

Permalink
feat: Add jsv2b bytecode client type
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Jun 6, 2024
1 parent 1ca58db commit 3dcfd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/CNodeResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ void CNodeResource::RunEventLoop()

bool CNodeResource::MakeClient(alt::IResource::CreationInfo* info, std::vector<std::string>)
{
if(resource->GetClientType() == "jsb") info->type = "jsv2";
if(resource->GetClientType() == "jsv2b") info->type = "jsv2";
return true;
}

0 comments on commit 3dcfd73

Please sign in to comment.