mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-15 08:24:39 +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
2 changed files with 3 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ object AvatarActor {
|
||||||
}
|
}
|
||||||
val fireMode = tool.AmmoSlots(ammoSlots)
|
val fireMode = tool.AmmoSlots(ammoSlots)
|
||||||
fireMode.AmmoTypeIndex = ammoTypeIndex
|
fireMode.AmmoTypeIndex = ammoTypeIndex
|
||||||
fireMode.Box = AmmoBox(AmmoBoxDefinition(ammoBoxDefinition))
|
fireMode.Box = AmmoBox(DefinitionUtil.idToDefinition(ammoBoxDefinition).asInstanceOf[AmmoBoxDefinition])
|
||||||
ammoCount.collect {
|
ammoCount.collect {
|
||||||
case count if restoreAmmo => fireMode.Magazine = count
|
case count if restoreAmmo => fireMode.Magazine = count
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,8 @@ class SessionGalaxyHandlers(
|
||||||
|
|
||||||
case GalaxyResponse.SendResponse(msg) =>
|
case GalaxyResponse.SendResponse(msg) =>
|
||||||
sendResponse(msg)
|
sendResponse(msg)
|
||||||
|
|
||||||
|
case _ => ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue