mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Adds a crash to camera logic if we attempt to add a qdeleting camera (#70878)
* Adds a crash to camera logic if we attempt to add a qdeleting camera. It's causing harddels and runtimes and I want to know why
This commit is contained in:
@@ -123,8 +123,8 @@ GLOBAL_DATUM_INIT(cameranet, /datum/cameranet, new)
|
||||
* If you want to update the chunks around an object, without adding/removing a camera, use choice 2.
|
||||
*/
|
||||
/datum/cameranet/proc/majorChunkChange(atom/c, choice)
|
||||
if(!c)
|
||||
return
|
||||
if(QDELETED(c) && choice == 1)
|
||||
CRASH("Tried to add a qdeleting camera to the net")
|
||||
|
||||
var/turf/T = get_turf(c)
|
||||
if(T)
|
||||
|
||||
Reference in New Issue
Block a user