Merge pull request #8846 from PsiOmegaDelta/CantClickMeDontClickMe

Makes objects without moues opacity not appear via alt-click.
This commit is contained in:
Chinsky
2015-04-18 16:57:01 +03:00
2 changed files with 6 additions and 0 deletions

View File

@@ -29,6 +29,10 @@
else if(istype(target,/obj/effect/decal/cleanable))
user << "<span class='notice'>You scrub \the [target.name] out.</span>"
del(target)
else if(istype(target,/turf))
user << "<span class='notice'>You scrub \the [target.name] clean.</span>"
var/turf/T = target
T.clean()
else
user << "<span class='notice'>You clean \the [target.name].</span>"
target.clean_blood()

View File

@@ -823,6 +823,8 @@ note dizziness decrements automatically in the mob's Life() proc.
else
statpanel(listed_turf.name, null, listed_turf)
for(var/atom/A in listed_turf)
if(!A.mouse_opacity)
continue
if(A.invisibility > see_invisible)
continue
if(is_type_in_list(A, shouldnt_see))