added vac/gameban marker for matches
This commit is contained in:
@@ -19,6 +19,14 @@ func init() {
|
||||
matchDescDemoParsed := matchFields[10].Descriptor()
|
||||
// match.DefaultDemoParsed holds the default value on creation for the demo_parsed field.
|
||||
match.DefaultDemoParsed = matchDescDemoParsed.Default.(bool)
|
||||
// matchDescVacPresent is the schema descriptor for vac_present field.
|
||||
matchDescVacPresent := matchFields[11].Descriptor()
|
||||
// match.DefaultVacPresent holds the default value on creation for the vac_present field.
|
||||
match.DefaultVacPresent = matchDescVacPresent.Default.(bool)
|
||||
// matchDescGamebanPresent is the schema descriptor for gameban_present field.
|
||||
matchDescGamebanPresent := matchFields[12].Descriptor()
|
||||
// match.DefaultGamebanPresent holds the default value on creation for the gameban_present field.
|
||||
match.DefaultGamebanPresent = matchDescGamebanPresent.Default.(bool)
|
||||
playerFields := schema.Player{}.Fields()
|
||||
_ = playerFields
|
||||
// playerDescSteamUpdated is the schema descriptor for steam_updated field.
|
||||
|
Reference in New Issue
Block a user