mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-09-11 10:05:52 -05:00
GameStats: Return 1 from getpd/setpd in error
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
func (g *GameStatsSession) getpd(command common.GameSpyCommand) {
|
||||
errMsg := common.GameSpyCommand{
|
||||
Command: "getpdr",
|
||||
CommandValue: "0",
|
||||
CommandValue: "1",
|
||||
OtherValues: map[string]string{
|
||||
"pid": command.OtherValues["pid"],
|
||||
"lid": strconv.Itoa(g.LoginID),
|
||||
|
||||
@@ -27,7 +27,7 @@ func (g *GameStatsSession) setpd(command common.GameSpyCommand) {
|
||||
|
||||
errMsg := common.GameSpyCommand{
|
||||
Command: "setpdr",
|
||||
CommandValue: "0",
|
||||
CommandValue: "1",
|
||||
OtherValues: map[string]string{
|
||||
"pid": command.OtherValues["pid"],
|
||||
"lid": strconv.Itoa(g.LoginID),
|
||||
|
||||
Reference in New Issue
Block a user