fix: Fixes badly formatted files (#878)

This commit is contained in:
Kamron Batman 2021-12-05 08:56:09 -08:00 • committed by GitHub
parent b3c153eae3
commit 1cf7b6c056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 274 additions and 312 deletions

View file

@ -182,8 +182,8 @@ namespace Server.Gumps
if (Sextant.Format(e.Location, e.Map, ref xLong, ref yLat, ref xMins, ref yMins, ref xEast, ref ySouth))
{
AddLabel(135 + half * 160, 80, 0, $"{yLat}<EFBFBD> {yMins}'{(ySouth ? "S" : "N")}");
AddLabel(135 + half * 160, 95, 0, $"{xLong}<EFBFBD> {xMins}'{(xEast ? "E" : "W")}");
AddLabel(135 + half * 160, 80, 0, $"{yLat}° {yMins}'{(ySouth ? "S" : "N")}");
AddLabel(135 + half * 160, 95, 0, $"{xLong}° {xMins}'{(xEast ? "E" : "W")}");
}
// Drop rune button
@ -294,7 +294,7 @@ namespace Server.Gumps
))
{
var location =
$"{yLat}<EFBFBD> {yMins}'{(ySouth ? "S" : "N")}, {xLong}<7D> {xMins}'{(xEast ? "E" : "W")}";
$"{yLat}° {yMins}'{(ySouth ? "S" : "N")}, {xLong}' {xMins}'{(xEast ? "E" : "W")}";
from.SendMessage(location);
}
@ -365,7 +365,7 @@ namespace Server.Gumps
))
{
var location =
$"{yLat}<EFBFBD> {yMins}'{(ySouth ? "S" : "N")}, {xLong}<7D> {xMins}'{(xEast ? "E" : "W")}";
$"{yLat}° {yMins}'{(ySouth ? "S" : "N")}, {xLong}' {xMins}'{(xEast ? "E" : "W")}";
from.SendMessage(location);
}
@ -401,7 +401,7 @@ namespace Server.Gumps
))
{
var location =
$"{yLat}<EFBFBD> {yMins}'{(ySouth ? "S" : "N")}, {xLong}<7D> {xMins}'{(xEast ? "E" : "W")}";
$"{yLat}° {yMins}'{(ySouth ? "S" : "N")}, {xLong}' {xMins}'{(xEast ? "E" : "W")}";
from.SendMessage(location);
}
@ -439,7 +439,7 @@ namespace Server.Gumps
))
{
var location =
$"{yLat}<EFBFBD> {yMins}'{(ySouth ? "S" : "N")}, {xLong}<7D> {xMins}'{(xEast ? "E" : "W")}";
$"{yLat}° {yMins}'{(ySouth ? "S" : "N")}, {xLong}' {xMins}'{(xEast ? "E" : "W")}";
from.SendMessage(location);
}