mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-15 00:14:40 +00:00
Fix for implants causing map loading hang (#275)
This commit is contained in:
parent
c4706134cc
commit
6cc6a663f5
1 changed files with 4 additions and 11 deletions
|
|
@ -243,17 +243,10 @@ object AvatarConverter {
|
||||||
*/
|
*/
|
||||||
private def MakeImplantEffectList(implants : Seq[(ImplantType.Value, Long, Boolean)]) : List[ImplantEffects.Value] = {
|
private def MakeImplantEffectList(implants : Seq[(ImplantType.Value, Long, Boolean)]) : List[ImplantEffects.Value] = {
|
||||||
implants.collect {
|
implants.collect {
|
||||||
case (implant,_,true) =>
|
case (ImplantType.AdvancedRegen,_,true) => ImplantEffects.RegenEffects
|
||||||
implant match {
|
case (ImplantType.DarklightVision,_,true) => ImplantEffects.DarklightEffects
|
||||||
case ImplantType.AdvancedRegen =>
|
case (ImplantType.PersonalShield,_,true) => ImplantEffects.PersonalShieldEffects
|
||||||
ImplantEffects.RegenEffects
|
case (ImplantType.Surge,_,true) => ImplantEffects.SurgeEffects
|
||||||
case ImplantType.DarklightVision =>
|
|
||||||
ImplantEffects.DarklightEffects
|
|
||||||
case ImplantType.PersonalShield =>
|
|
||||||
ImplantEffects.PersonalShieldEffects
|
|
||||||
case ImplantType.Surge =>
|
|
||||||
ImplantEffects.SurgeEffects
|
|
||||||
}
|
|
||||||
}.toList
|
}.toList
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue