Change certain struct field names back to what they were

This commit is contained in:
maru committed 2024-04-09 01:28:56 -04:00
1 parent 85055d2921
commit 0f8fc0085e
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ func handleSavedataUpdate(uuid []byte, slot int, save any) error {
switch save := save.(type) {
case defs.SystemSaveData: // System
if save.TrainerID == 0 && save.SecretID == 0 {
if save.TrainerId == 0 && save.SecretId == 0 {
return fmt.Errorf("invalid system data")
}