Skip to content

Commit

Permalink
Fix errors where some function overriding droped returned value (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
LethalGhost authored and fluorescent-net committed Jun 30, 2017
1 parent ea480b1 commit 44bd50f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/multiz/shadow.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
shadow.sync_icon(src)

/mob/living/Move()
..()
. = ..()
check_shadow()

/mob/living/forceMove()
..()
. = ..()
check_shadow()

/mob/living/proc/check_shadow()
Expand All @@ -67,11 +67,11 @@
M.reset_view(0)

/mob/living/update_icons()
..()
. = ..()
if(shadow)
shadow.sync_icon(src)

/mob/set_dir(new_dir)
..()
. = ..()
if(shadow)
shadow.set_dir(new_dir)

0 comments on commit 44bd50f

Please sign in to comment.