mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
refactors most spans
This commit is contained in:
@@ -290,7 +290,7 @@
|
||||
if(!mob)
|
||||
return // Paranoid.
|
||||
if(isnull(slot) || !isnum(slot))
|
||||
to_chat(src, "<span class='warning'>.activate_ability requires a number as input, corrisponding to the slot you wish to use.</span>")
|
||||
to_chat(src, span_warning(".activate_ability requires a number as input, corrisponding to the slot you wish to use."))
|
||||
return // Bad input.
|
||||
if(!mob.ability_master)
|
||||
return // No abilities.
|
||||
|
||||
Reference in New Issue
Block a user