mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-03-21 17:44:58 -05:00
GameStats: Return 1 from getpd/setpd in error
This commit is contained in:
parent
c0196a65bd
commit
0642e14672
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user