Fixed typo in be9fd42231
This commit is contained in:
@ -103,7 +103,7 @@ class Camera:
|
||||
def _newPicture(self, _, timeGap: float):
|
||||
if self._multiPictureOngoing:
|
||||
return
|
||||
|
||||
|
||||
# Don't perform multishot in print mode
|
||||
if self._lastMode == 5:
|
||||
return
|
||||
@ -128,7 +128,7 @@ class Camera:
|
||||
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
|
||||
if enabledFlag:
|
||||
self._onCameraEnabled()
|
||||
|
||||
Reference in New Issue
Block a user