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

Right mouse key doesn't disable cinematic camera #2307

Open
mugg91 opened this issue Jan 11, 2025 · 1 comment · May be fixed by #2309
Open

Right mouse key doesn't disable cinematic camera #2307

mugg91 opened this issue Jan 11, 2025 · 1 comment · May be fixed by #2309
Labels
bug An *objective* unintended feature/mechanic that should be fixed

Comments

@mugg91
Copy link
Contributor

mugg91 commented Jan 11, 2025

Description

I played for a bit, new map loaded, and I went spectator and minimized the game, then came back to watch as spectator, but pressing the right mouse key didn't temp-disable the cinematic camera.

Maybe something wrong with conditions in PlayerCamera.as

	//right click to toggle cinematic camera
	CControls@ controls = getControls();
	if (
		v_camera_cinematic &&                               //user didn't perma disable
		controls !is null &&								//controls exist
		controls.isKeyJustPressed(KEY_RBUTTON) &&			//right clicked
		(spectatorTeam || getLocalPlayerBlob() is null) && //is in spectator or dead
		getGameTime() > deathTime)
	{
@mugg91
Copy link
Contributor Author

mugg91 commented Jan 11, 2025

Was spectator, could toggle cinematic camera by right mouse key.
Then new map loaded with me still being spectator, and the toggling no longer worked.

@Vam-Jam Vam-Jam added the bug An *objective* unintended feature/mechanic that should be fixed label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An *objective* unintended feature/mechanic that should be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants