This commit is contained in:
PsiOmega
2015-08-11 17:33:03 +02:00
parent 3185005496
commit 78ffb5835a
3 changed files with 19 additions and 23 deletions

View File

@@ -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 ..()

View File

@@ -303,7 +303,6 @@
if(loc == get_turf(original))
if(!(original in permutated))
if(Bump(original))
qdel(src)
return
if(first_step)

View File

@@ -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