mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-13 15:34:42 +00:00
Merge pull request #1164 from Fate-JH/order-fulfillment
Restored Purchasing Power
This commit is contained in:
commit
22d097347b
1 changed files with 9 additions and 7 deletions
|
|
@ -146,13 +146,15 @@ class SessionTerminalHandlers(
|
||||||
sendResponse(UnuseItemMessage(player.GUID, msg.terminal_guid))
|
sendResponse(UnuseItemMessage(player.GUID, msg.terminal_guid))
|
||||||
}
|
}
|
||||||
player.LogActivity(TerminalUsedActivity(AmenitySource(term), msg.transaction_type))
|
player.LogActivity(TerminalUsedActivity(AmenitySource(term), msg.transaction_type))
|
||||||
}.orElse {
|
}
|
||||||
log.error(
|
.orElse {
|
||||||
s"${tplayer.Name} wanted to spawn a vehicle, but there was no spawn pad associated with terminal ${msg.terminal_guid} to accept it"
|
log.error(
|
||||||
)
|
s"${tplayer.Name} wanted to spawn a vehicle, but there was no spawn pad associated with terminal ${msg.terminal_guid} to accept it"
|
||||||
sendResponse(ItemTransactionResultMessage(msg.terminal_guid, TransactionType.Buy, success = false))
|
)
|
||||||
None
|
sendResponse(ItemTransactionResultMessage(msg.terminal_guid, TransactionType.Buy, success = false))
|
||||||
}
|
None
|
||||||
|
}
|
||||||
|
lastTerminalOrderFulfillment = true
|
||||||
|
|
||||||
case Terminal.NoDeal() if msg != null =>
|
case Terminal.NoDeal() if msg != null =>
|
||||||
val transaction = msg.transaction_type
|
val transaction = msg.transaction_type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue