mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] canUseTopic now uses TRUE/FALSE instead of defines that just say TRUE [MDB IGNORE] (#16586)
* canUseTopic now uses TRUE/FALSE instead of defines that just say TRUE * etes * eyes Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
John Willard
Gandalf
parent
bb160ed9a2
commit
1ce77983df
@@ -458,7 +458,7 @@
|
||||
if(!payments_acc)
|
||||
to_chat(usr, span_notice("[src] hasn't been registered yet."))
|
||||
return TRUE
|
||||
if(!usr.canUseTopic(src, BE_CLOSE, FALSE, NO_TK))
|
||||
if(!usr.canUseTopic(src, be_close = TRUE, no_dexterity = FALSE, no_tk = TRUE))
|
||||
return TRUE
|
||||
if(!potential_acc)
|
||||
to_chat(usr, span_notice("No ID card detected."))
|
||||
@@ -514,7 +514,7 @@
|
||||
if(payments_acc != potential_acc.registered_account)
|
||||
to_chat(usr, span_warning("[src] rejects your new price."))
|
||||
return
|
||||
if(!usr.canUseTopic(src, BE_CLOSE, FALSE, NO_TK))
|
||||
if(!usr.canUseTopic(src, be_close = TRUE, no_dexterity = FALSE, no_tk = TRUE))
|
||||
to_chat(usr, span_warning("You need to get closer!"))
|
||||
return
|
||||
sale_price = new_price_input
|
||||
|
||||
Reference in New Issue
Block a user