mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-03-14 01:40:38 +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] = {
|
||||
implants.collect {
|
||||
case (implant,_,true) =>
|
||||
implant match {
|
||||
case ImplantType.AdvancedRegen =>
|
||||
ImplantEffects.RegenEffects
|
||||
case ImplantType.DarklightVision =>
|
||||
ImplantEffects.DarklightEffects
|
||||
case ImplantType.PersonalShield =>
|
||||
ImplantEffects.PersonalShieldEffects
|
||||
case ImplantType.Surge =>
|
||||
ImplantEffects.SurgeEffects
|
||||
}
|
||||
case (ImplantType.AdvancedRegen,_,true) => ImplantEffects.RegenEffects
|
||||
case (ImplantType.DarklightVision,_,true) => ImplantEffects.DarklightEffects
|
||||
case (ImplantType.PersonalShield,_,true) => ImplantEffects.PersonalShieldEffects
|
||||
case (ImplantType.Surge,_,true) => ImplantEffects.SurgeEffects
|
||||
}.toList
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue