Skip to content

Commit

Permalink
debug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilDragonfiend committed Jul 18, 2024
1 parent 7c2ef9d commit b39bffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
/mob/proc/reset_perspective(atom/new_eye)
// somewhat tricky. If no client ever used this mob as their eye, this proc is not necessary.
// This is necessary because we don't want N number of mobs having 'eye_mobs = list(src)'. not necessary.
if(isnull(lastKnownIP))
if(isnull(computer_id)) // "var/lastKnownIP" doesn't work for debug environment
return

if(client && client.perspective != EYE_PERSPECTIVE)
Expand Down

0 comments on commit b39bffe

Please sign in to comment.