mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Misc.
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
return -1
|
||||
|
||||
/turf/simulated/Destroy()
|
||||
if(ticker)
|
||||
updateVisibility(src)
|
||||
..()
|
||||
|
||||
@@ -26,18 +25,15 @@
|
||||
// STRUCTURES
|
||||
|
||||
/obj/structure/Destroy()
|
||||
if(ticker)
|
||||
updateVisibility(src)
|
||||
..()
|
||||
|
||||
/obj/structure/New()
|
||||
..()
|
||||
updateVisibility(src)
|
||||
|
||||
// EFFECTS
|
||||
|
||||
/obj/effect/Destroy()
|
||||
if(ticker)
|
||||
updateVisibility(src)
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -303,7 +303,6 @@
|
||||
if(loc == get_turf(original))
|
||||
if(!(original in permutated))
|
||||
if(Bump(original))
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
if(first_step)
|
||||
|
||||
@@ -179,6 +179,7 @@ var/list/spells = typesof(/spell) //needed for the badmin verb for now
|
||||
/spell/proc/cast_check(skipcharge = 0,mob/user = usr) //checks if the spell can be cast based on its settings; skipcharge is used when an additional cast_check is called inside the spell
|
||||
|
||||
if(!(src in user.spell_list) && holder == user)
|
||||
error("[user] utilized the spell '[src]' without having it.")
|
||||
user << "<span class='warning'>You shouldn't have this spell! Something's wrong.</span>"
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user