Add session id to fake game

This commit is contained in:
cyber-dream 2022-11-04 03:29:21 +03:00
parent 126835b050
commit 7b3b12987b

View File

@ -16,12 +16,13 @@ func ConvertServerSessionsToJSON(s Session) []byte {
var FakeSessions = Sessions{ var FakeSessions = Sessions{
Sessions: []Session{ Sessions: []Session{
{ {
GameId: "garrysmod", GameId: "garrysmod",
Icon: "", SessionId: "gmod-test",
Title: "Regular Skirda Gmod server", Icon: "",
Status: "Super fake session", Title: "Regular Skirda Gmod server",
Version: "", Status: "Super fake session",
Expires: time.Time{}, Version: "",
Expires: time.Time{},
Arguments: []gameUtils.Argument{ Arguments: []gameUtils.Argument{
{ {
Body: "+connect", Body: "+connect",