[MIRROR] fix diag movement (#11196)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-15 13:59:05 -07:00
committed by GitHub
parent 2228987dfc
commit 6f8cbcf612
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -176,7 +176,7 @@
// place due to a Crossed, Bumped, etc. call will interrupt
// the second half of the diagonal movement, or the second attempt
// at a first half if step() fails because we hit something.
glide_for(movetime * SQRT_2) //CHOMPEDIT - proper diagonal movement
glide_for(movetime * SQRT_2)
if (direct & NORTH)
if (direct & EAST)
if (step(src, NORTH) && moving_diagonally)
@@ -249,8 +249,6 @@
for (var/datum/light_source/light as anything in light_sources) // Cycle through the light sources on this atom and tell them to update.
light.source_atom.update_light()
//SEND_SIGNAL(src, COMSIG_MOVABLE_MOVED, old_loc, direction) CHOMPEdit - Why was this comsig here twice?
return TRUE
/atom/movable/set_dir(newdir)
+1 -1
View File
@@ -337,7 +337,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(!admin_ghosted)
announce_ghost_joinleave(mind, 0, "They now occupy their body again.")
if(admin_ghosted)
log_and_message_admins("Admin [key_name(src)] re-entered their body.") // CHOMPEdit - Add logging.
log_and_message_admins("Admin [key_name(src)] re-entered their body.")
return 1
/mob/observer/dead/verb/toggle_medHUD()