Merge pull request #2943 from CIB/master

Fixed self-missing
This commit is contained in:
Mloc
2013-06-01 09:29:13 -07:00
@@ -114,6 +114,8 @@ emp_act
if(!I || !user) return 0
var/target_zone = get_zone_with_miss_chance(user.zone_sel.selecting, src)
if(user == src) // Attacking yourself can't miss
target_zone = user.zone_sel.selecting
if(!target_zone)
visible_message("\red <B>[user] misses [src] with \the [I]!")
return