Fixes Clumsy Gun Check

This commit is contained in:
Fox-McCloud
2016-06-22 10:18:44 -04:00
parent d9b1739b38
commit 17ef81e8a5
+1 -1
View File
@@ -140,7 +140,7 @@
//Exclude lasertag guns from the CLUMSY check.
if(clumsy_check)
if(istype(user))
if (user.disabilities & CLUMSY && prob(40))
if((CLUMSY in user.mutations) && prob(40))
to_chat(user, "<span class='userdanger'>You shoot yourself in the foot with \the [src]!</span>")
var/shot_leg = pick("l_foot", "r_foot")
process_fire(user, user, 0, params, zone_override = shot_leg)