mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-17 11:14:11 +01:00
[MIRROR] fix diag movement (#11196)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2228987dfc
commit
6f8cbcf612
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user