mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] refactors most spans (#9139)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
if(..())
|
||||
return
|
||||
if(!allowed(user))
|
||||
to_chat(user, "<span class='warning'>Access denied.</span>")
|
||||
to_chat(user, span_warning("Access denied."))
|
||||
return
|
||||
tgui_interact(user)
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
inserted_id.mining_points += machine.points
|
||||
machine.points = 0
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>Required access not found.</span>")
|
||||
to_chat(usr, span_warning("Required access not found."))
|
||||
. = TRUE
|
||||
if("insert")
|
||||
var/obj/item/card/id/I = usr.get_active_hand()
|
||||
@@ -137,7 +137,7 @@
|
||||
I.forceMove(src)
|
||||
inserted_id = I
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>No valid ID.</span>")
|
||||
to_chat(usr, span_warning("No valid ID."))
|
||||
. = TRUE
|
||||
if("speed_toggle")
|
||||
machine.toggle_speed()
|
||||
|
||||
Reference in New Issue
Block a user