mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[MIRROR] fixes buying shuttle insurance while the shuttle is docked (#6605)
* fixes buying shuttle insurance while the shuttle is docked (#59879) * ok * ?? * fixes buying shuttle insurance while the shuttle is docked Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
/datum/round_event/shuttle_insurance/proc/answered()
|
||||
if(EMERGENCY_AT_LEAST_DOCKED)
|
||||
priority_announce("You are definitely too late to purchase insurance, my friends. Our agents don't work on site.",sender_override = ship_name)
|
||||
return
|
||||
if(insurance_message && insurance_message.answered == 1)
|
||||
var/datum/bank_account/station_balance = SSeconomy.get_dep_account(ACCOUNT_CAR)
|
||||
if(!station_balance?.adjust_money(-insurance_evaluation))
|
||||
|
||||
Reference in New Issue
Block a user