Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fixed] Right mouse key failed to toggle cinematic camera after a new map loads #2309

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mugg91
Copy link
Contributor

@mugg91 mugg91 commented Jan 11, 2025

Status

  • READY: this PR is (to the best of your knowledge) ready to be incorporated into the game.

Description

Fixes #2307

deathTime didn't change between maps so toggling would not work because of the condition getGameTime() > deathTime at line 371 in PlayerCamera.as.

Now, when a new map loads and rules script PlayerCamera.as restarts, the Reset() function now sets deathTime back to 0.

The bug itself and the bug fix were verifed on dedicated server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Right mouse key doesn't disable cinematic camera
1 participant