From de2efd09acaeea93541dbd667f5e33036d98d232 Mon Sep 17 00:00:00 2001 From: Lohikar Date: Sat, 1 Jul 2017 13:25:14 -0500 Subject: [PATCH] Fix a parallax runtime (#2887) Fixes #2835. --- code/game/atoms_movable.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm index 780330c3411..6d86074cf17 100644 --- a/code/game/atoms_movable.dm +++ b/code/game/atoms_movable.dm @@ -279,5 +279,5 @@ var/list/accessible_z_levels = list("8" = 5, "9" = 10, "7" = 15, "2" = 60) /mob/update_client_hook(atom/destination) . = ..() - if (. && hud_used && get_turf(client.eye) == destination) + if (. && hud_used && client && get_turf(client.eye) == destination) hud_used.update_parallax_values()