Mousetrap the movie (#54965)

I forgot to check more than ismouse() on the mousetrap side, because I am blind.
This adds the extra checks for israt() and isregalrat() to the trap triggering.
This commit is contained in:
ArcaneMusic
2020-11-15 12:23:06 -08:00
committed by GitHub
parent f5292e39ef
commit 6f56db6c56
+1 -1
View File
@@ -118,7 +118,7 @@
triggered(H)
H.visible_message("<span class='warning'>[H] accidentally steps on [src].</span>", \
"<span class='warning'>You accidentally step on [src]</span>")
else if(ismouse(MM))
else if(ismouse(MM) || israt(MM) || isregalrat(MM))
triggered(MM)
else if(AM.density) // For mousetrap grenades, set off by anything heavy
triggered(AM)