mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user