mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 00:46:35 +01:00
Chore: Converting all text("[]", foo) to "[foo]" (#5549)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> ## About The Pull Request I did this because some of the old text() uses would cause BYOND Beta version 515.1607 to no longer compile. (Which is a bug but still an excuse to finally deal with this) ## Beware I hastily did this. ## Changelog 🆑 code: Converted all text("[]", foo) to "[foo]" /🆑
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
<br>
|
||||
[data_core ? data_core.get_manifest(0) : ""]
|
||||
"}
|
||||
if(!computer.nano_printer.print_text(contents,text("crew manifest ([])", stationtime2text())))
|
||||
if(!computer.nano_printer.print_text(contents, "crew manifest ([stationtime2text()])"))
|
||||
to_chat(usr, "<span class='notice'>Hardware error: Printer was unable to print the file. It may be out of paper.</span>")
|
||||
return
|
||||
else
|
||||
@@ -219,7 +219,7 @@
|
||||
if(!access_allowed)
|
||||
id_card.access += access_type
|
||||
if(id_card)
|
||||
id_card.name = text("[id_card.registered_name]'s ID Card ([id_card.assignment])")
|
||||
id_card.name = "[id_card.registered_name]'s ID Card ([id_card.assignment])"
|
||||
|
||||
SSnanoui.update_uis(NM)
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user