Compare commits

...

2 Commits

Author SHA1 Message Date
7b3b12987b Add session id to fake game 2022-11-04 03:29:21 +03:00
126835b050 change fake game title 2022-11-04 03:29:10 +03:00
2 changed files with 8 additions and 7 deletions

View File

@ -20,7 +20,7 @@ var openarena = SteamGame{
SteamId: "70",
Args: []Argument{},
Assets: GameInterfaceAssets{
Title: "Open Arena",
Title: "Half Life",
Icon: "icon.png",
Description: "asdadasd",
},

View File

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