refactors most spans

This commit is contained in:
Kashargul
2024-10-02 21:10:31 +02:00
parent 5417c7772c
commit a2c673ab7a
1517 changed files with 12436 additions and 12347 deletions
@@ -41,7 +41,7 @@
if(!allow_stacking)
for(var/obj/item/inserted_spell/IS in L.contents)
if(IS.type == inserting)
to_chat(user, "<span class='warning'>\The [L] is already affected by \the [src].</span>")
to_chat(user, span_warning("\The [L] is already affected by \the [src]."))
return
var/obj/item/inserted_spell/inserted = new inserting(L,user,src)
inserted.spell_power_at_creation = calculate_spell_power(1.0)
@@ -56,4 +56,4 @@
/obj/item/spell/insert/on_ranged_cast(atom/hit_atom, mob/user)
if(istype(hit_atom, /mob/living))
var/mob/living/L = hit_atom
insert(L,user)
insert(L,user)