mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 07:55:33 +01:00
add point limitations
This commit is contained in:
@@ -258,6 +258,9 @@ func logoutPlayer(s *Session) {
|
||||
return
|
||||
}
|
||||
saveData.RP += uint16(rpGained)
|
||||
if saveData.RP >= 50000 {
|
||||
saveData.RP = 50000
|
||||
}
|
||||
saveData.Save(s)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user