Przeglądaj źródła

misc: chore: logged coordinate is a decimal not a whole number

Evan Husted 1 rok temu
rodzic
commit
158ea7b4d6
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/Ryujinx/Utilities/PlayReport.cs

+ 3 - 3
src/Ryujinx/Utilities/PlayReport.cs

@@ -44,10 +44,10 @@ namespace Ryujinx.Ava.Utilities
         {
             try
             {
-                return (long)value.BoxedValue switch
+                return (double)value.BoxedValue switch
                 {
-                    > 800 => "Exploring the Sky Islands",
-                    < -201 => "Exploring the Depths",
+                    > 800d => "Exploring the Sky Islands",
+                    < -201d => "Exploring the Depths",
                     _ => "Roaming Hyrule"
                 };
             }