Skip to content
This repository was archived by the owner on Jun 11, 2020. It is now read-only.

Conversation

Corecii
Copy link
Contributor

@Corecii Corecii commented Jul 8, 2016

This is a fix for the following bug:
When changing the ComputerMovementMode or DevComputerMovementMode the Keyboard ControlModule does not update. Currently this bug is only observed when switching to/from the Scriptable DevComputerMovementMode. This has the effect of allowing the player to walk around while DevComputerMovementMode is Scriptable, or not allowing the player to walk around when it is anything else. This does not happen with the Touch ControlModule because it listens for changes to (Dev)ComputerMovementMode.

This fix mirrors over the event listening and module refreshing code from the Touch ControlModule to the Keyboard ControlModule in order to remain consistent between the two.
This issue was originally pointed out on the devforum here.

This also fixes an unrelated duplicate check for the same condition inside Keyboard:Enable.

…nges

This is a fix for the following bug:
When changing the ComputerMovementMode or DevComputerMovementMode the Keyboard ControlModule does not update. Currently this bug is only observed when switching to/from the Scriptable DevComputerMovementMode. This does not happen with the Touch ControlModule because it listens for changes to (Dev)ComputerMovementMode.

This fix mirrors over the event listening and module refreshing code from the Touch ControlModule to the Keyboard ControlModule in order to remain consistent.
This issue was originally pointed out at http://devforum.roblox.com/t/changing-devcomputermovementmode-or-devtouchmovementmode-sometimes-doesnt-activate-instantly/26844
@hockeychaos hockeychaos merged commit 4345482 into Roblox:master Jul 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants