mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fixes #7928
Uses camera/set_status() to ensure viewers are kicked and camera cache updated.
This commit is contained in:
@@ -64,9 +64,9 @@
|
||||
|
||||
if(src.camera && !scrambledcodes)
|
||||
if(src.stat == 2 || wires.IsIndexCut(BORG_WIRE_CAMERA))
|
||||
src.camera.status = 0
|
||||
src.camera.set_status(0)
|
||||
else
|
||||
src.camera.status = 1
|
||||
src.camera.set_status(1)
|
||||
|
||||
updatehealth()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user