Skip to content

Commit

Permalink
Move_Pulled around corners
Browse files Browse the repository at this point in the history
- can now move dense objects around corners in a non-gimmicky way
  • Loading branch information
norill committed Apr 8, 2015
1 parent 6550016 commit bb93aaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/_onclick/other_mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
for(var/datum/mutation/human/HM in dna.mutations)
HM.on_ranged_attack(src, A)

var/turf/T = A
if(istype(T) && get_dist(src,T) <= 1)
src.Move_Pulled(T)

/*
Animals & All Unspecified
*/
Expand Down

0 comments on commit bb93aaf

Please sign in to comment.