GetDotaStats / stat-collection

Library for setting up stat collection for dota2 mods
http://getdotastats.com/
GNU General Public License v2.0
11 stars 8 forks source link

customSchema submitRound() lacks same schema logic as init() #44

Open jimmydorry opened 8 years ago

jimmydorry commented 8 years ago

Copy that beautiful logic in init() into the submitRound() in the schema.

https://github.com/GetDotaStats/stat-collection/blob/master/scripts/vscripts/statcollection/schema.lua#L3

https://github.com/GetDotaStats/stat-collection/blob/master/scripts/vscripts/statcollection/schema.lua#L93

If you use rounds, you will get nasty schema errors when the schema naturally fails.