mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
Fixes a runtime during roundstart (#9032)
When mobs spawn for the first time, they call Move() Move then changes the icon state of the up_hint, however, up_hint is at this point not initialized, so it runtimes instead
This commit is contained in:
@@ -147,7 +147,8 @@
|
||||
|
||||
if (client)
|
||||
var/turf/B = GetAbove(T)
|
||||
up_hint.icon_state = "uphint[(B ? !!B.is_hole : 0)]"
|
||||
if(up_hint)
|
||||
up_hint.icon_state = "uphint[(B ? !!B.is_hole : 0)]"
|
||||
|
||||
if (is_noisy && !stat && !lying)
|
||||
if ((x == last_x && y == last_y) || !footsound)
|
||||
|
||||
Reference in New Issue
Block a user