Don't freak out on mouse clicks if we're not connected.
(I check every time so that this still works after you're disconnected.) git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@526 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -814,6 +814,9 @@ public class EZGameControl extends BaseControl
|
||||
*/
|
||||
protected function handleRootClick (evt :MouseEvent) :void
|
||||
{
|
||||
if (!isConnected()) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
if (evt.target.stage == null || evt.target.stage.focus != null) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user