Merge pull request #1164 from Fate-JH/order-fulfillment

Restored Purchasing Power
This commit is contained in:
Fate-JH 2024-01-17 23:32:28 -05:00 committed by GitHub
commit 22d097347b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,13 +146,15 @@ class SessionTerminalHandlers(
sendResponse(UnuseItemMessage(player.GUID, msg.terminal_guid))
}
player.LogActivity(TerminalUsedActivity(AmenitySource(term), msg.transaction_type))
}.orElse {
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
}
}
.orElse {
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
}
lastTerminalOrderFulfillment = true
case Terminal.NoDeal() if msg != null =>
val transaction = msg.transaction_type