mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
[MIRROR] Tgui input refresh [MDB IGNORE] (#11290)
* Tgui input refresh * Update code/modules/mob/dead/observer/observer.dm Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
@@ -261,12 +261,12 @@
|
||||
pin_owner = null
|
||||
owned = FALSE
|
||||
return
|
||||
var/transaction_amount = tgui_input_number(user, "Insert valid deposit amount for gun purchase", "Money Deposit", 1, 10000, 1)
|
||||
if(isnull(transaction_amount))
|
||||
var/transaction_amount = tgui_input_number(user, "Insert valid deposit amount for gun purchase", "Money Deposit")
|
||||
if(!transaction_amount || QDELETED(user) || QDELETED(src) || !user.canUseTopic(src, BE_CLOSE, FALSE, NO_TK))
|
||||
return
|
||||
pin_owner = id
|
||||
owned = TRUE
|
||||
payment_amount = round(transaction_amount)
|
||||
payment_amount = transaction_amount
|
||||
gun_owners += user
|
||||
to_chat(user, span_notice("You link the card to the firing pin."))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user