Fixed typo in be9fd42231
This commit is contained in:
@ -103,7 +103,7 @@ class Camera:
|
|||||||
def _newPicture(self, _, timeGap: float):
|
def _newPicture(self, _, timeGap: float):
|
||||||
if self._multiPictureOngoing:
|
if self._multiPictureOngoing:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Don't perform multishot in print mode
|
# Don't perform multishot in print mode
|
||||||
if self._lastMode == 5:
|
if self._lastMode == 5:
|
||||||
return
|
return
|
||||||
@ -128,7 +128,7 @@ class Camera:
|
|||||||
Gets called every time the camera mode changes in VRChat.
|
Gets called every time the camera mode changes in VRChat.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
enabledFlag = self._lastMode = 0 and newMode != 0
|
enabledFlag = self._lastMode == 0 and newMode != 0
|
||||||
self._lastMode = newMode
|
self._lastMode = newMode
|
||||||
if enabledFlag:
|
if enabledFlag:
|
||||||
self._onCameraEnabled()
|
self._onCameraEnabled()
|
||||||
|
|||||||
Reference in New Issue
Block a user