mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-16 08:55:18 +00:00
making the bank ammunition actual bank ammunition
This commit is contained in:
parent
1bb21ba79c
commit
76b77b1032
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue