diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/moonbase/net_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp index 0412b0bd95..5a8323e63c 100644 --- a/engines/scumm/he/moonbase/net_main.cpp +++ b/engines/scumm/he/moonbase/net_main.cpp @@ -203,7 +203,7 @@ int Net::endSession() { new Common::Callback<Net, Networking::ErrorResponse>(this, &Net::endSessionErrorCallback)); char *buf = (char *)malloc(MAX_PACKET_SIZE); - snprintf(buf, MAX_PACKET_SIZE, "{\"sessionid\":%d}", _sessionid); + snprintf(buf, MAX_PACKET_SIZE, "{\"sessionid\":%d, \"userid\":%d}", _sessionid, _myUserId); rq.setPostData((byte *)buf, strlen(buf)); rq.setContentType("application/json"); |