@@ -78,38 +78,38 @@ public static EFikaLocation ToFikaLocation(this string location)
7878 "sandbox" or "sandbox_high" => EFikaLocation . GroundZero ,
7979 "shoreline" => EFikaLocation . Shoreline ,
8080 "tarkovstreets" => EFikaLocation . Streets ,
81- "woods" => EFikaLocation . Streets ,
81+ "woods" => EFikaLocation . Woods ,
8282 _ => EFikaLocation . None ,
8383 } ;
8484 }
8585
8686 public static EFikaLocation ToFikaLocation ( this FikaPlayerPresence presence )
8787 {
88- if ( presence . Activity is EFikaPlayerPresences . IN_HIDEOUT )
88+ if ( presence . RaidInformation != null )
8989 {
90- return EFikaLocation . Hideout ;
90+ return presence . RaidInformation . Location switch
91+ {
92+ "bigmap" => EFikaLocation . Customs ,
93+ "factory4_day" or "factory4_night" => EFikaLocation . Factory ,
94+ "interchange" => EFikaLocation . Interchange ,
95+ "laboratory" => EFikaLocation . Laboratory ,
96+ "labyrinth" => EFikaLocation . Labyrinth ,
97+ "lighthouse" => EFikaLocation . Lighthouse ,
98+ "rezervbase" => EFikaLocation . Reserve ,
99+ "sandbox" or "sandbox_high" => EFikaLocation . GroundZero ,
100+ "shoreline" => EFikaLocation . Shoreline ,
101+ "tarkovstreets" => EFikaLocation . Streets ,
102+ "woods" => EFikaLocation . Woods ,
103+ _ => EFikaLocation . None ,
104+ } ;
91105 }
92106
93- if ( presence . Activity is not EFikaPlayerPresences . IN_RAID )
107+ if ( presence . Activity is EFikaPlayerPresences . IN_HIDEOUT )
94108 {
95- return EFikaLocation . None ;
109+ return EFikaLocation . Hideout ;
96110 }
97111
98- return presence . RaidInformation ? . Location switch
99- {
100- "bigmap" => EFikaLocation . Customs ,
101- "factory4_day" or "factory4_night" => EFikaLocation . Factory ,
102- "interchange" => EFikaLocation . Interchange ,
103- "laboratory" => EFikaLocation . Laboratory ,
104- "labyrinth" => EFikaLocation . Labyrinth ,
105- "lighthouse" => EFikaLocation . Lighthouse ,
106- "rezervbase" => EFikaLocation . Reserve ,
107- "sandbox" or "sandbox_high" => EFikaLocation . GroundZero ,
108- "shoreline" => EFikaLocation . Shoreline ,
109- "tarkovstreets" => EFikaLocation . Streets ,
110- "woods" => EFikaLocation . Streets ,
111- _ => EFikaLocation . None ,
112- } ;
112+ return EFikaLocation . None ;
113113 }
114114
115115 /// <summary>
0 commit comments