TauCetiStation / TauCetiClassic

Франкенштейн жив
GNU Affero General Public License v3.0
144 stars 419 forks source link

Камера и ИИ. #6698

Open Kortez90 opened 3 years ago

Kortez90 commented 3 years ago

Подробное описание проблемы

Runtime in parallax.dm, line 162: Cannot read null.loc
proc name: update parallax (/datum/hud/proc/update_parallax)
usr: Oracle (██████) (/mob/living/silicon/ai)
usr.loc: The floor (164,57,2) (/turf/simulated/floor/whitegreed)
src: /datum/hud (/datum/hud)
call stack:
/datum/hud (/datum/hud): update parallax()
Oracle (AI Eye) (/mob/camera/Eye/ai): update parallax contents()
Oracle (AI Eye) (/mob/camera/Eye/ai): setLoc(null)
Oracle (AI Eye) (/mob/camera/Eye/ai): setLoc(null)
Oracle (/mob/living/silicon/ai): switchCamera(the security camera (/obj/machinery/camera))
Oracle (/mob/living/silicon/ai): Topic("src=\[0x30000a9];switchcamera=...", /list (/list))
██████ (/client): Topic("src=\[0x30000a9];switchcamera=...", /list (/list), Oracle (/mob/living/silicon/ai))

Что должно было произойти

Что произошло на самом деле

Как повторить

Дополнительная информация:

https://github.com/TauCetiStation/TauCetiClassic/blob/c6aaf59215280c5b67fdebe7d7e2682a510aba59/code/_onclick/hud/parallax.dm#L160-L162

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/96074158-?utm_campaign=plugin&utm_content=tracker%2F34704297&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F34704297&utm_medium=issues&utm_source=github).
4310V343k commented 3 years ago

Найс сикей челика спалил