mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
Working BANK (#1061)
* making the bank ammunition actual bank ammunition * this MatchError never happened before now; don't get it
This commit is contained in:
parent
1bb21ba79c
commit
f448cad13f
|
|
@ -298,7 +298,7 @@ object AvatarActor {
|
|||
}
|
||||
val fireMode = tool.AmmoSlots(ammoSlots)
|
||||
fireMode.AmmoTypeIndex = ammoTypeIndex
|
||||
fireMode.Box = AmmoBox(AmmoBoxDefinition(ammoBoxDefinition))
|
||||
fireMode.Box = AmmoBox(DefinitionUtil.idToDefinition(ammoBoxDefinition).asInstanceOf[AmmoBoxDefinition])
|
||||
ammoCount.collect {
|
||||
case count if restoreAmmo => fireMode.Magazine = count
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ class SessionGalaxyHandlers(
|
|||
|
||||
case GalaxyResponse.SendResponse(msg) =>
|
||||
sendResponse(msg)
|
||||
|
||||
case _ => ()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue