fix xmlrpc altitude sent
This commit is contained in:
parent
b9fcc221b4
commit
5938c7e79f
@ -370,7 +370,8 @@ if (Now > Map_NextUpdate) {
|
|||||||
if (Net_ClimbTheMap_AltitudeOfPB < Altitude) {
|
if (Net_ClimbTheMap_AltitudeOfPB < Altitude) {
|
||||||
Net_ClimbTheMap_AltitudeOfPB = Altitude;
|
Net_ClimbTheMap_AltitudeOfPB = Altitude;
|
||||||
|
|
||||||
Map_XmlRpc_AltitudePerLogin_Queue[Player.User.Login] = Altitude;
|
// Map_XmlRpc_AltitudePerLogin_Queue is relative with the Start waypoint
|
||||||
|
Map_XmlRpc_AltitudePerLogin_Queue[Player.User.Login] = Altitude - Net_ClimbTheMap_AltitudeOfWaypoints.X;
|
||||||
}
|
}
|
||||||
|
|
||||||
AltitudePerName[Player.User.Name] = Altitude;
|
AltitudePerName[Player.User.Name] = Altitude;
|
||||||
|
Loading…
Reference in New Issue
Block a user