Like getPendingModel, cope if there's no _pendingData
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@931 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -214,7 +214,7 @@ public class SceneDirector extends BasicDirector
|
|||||||
*/
|
*/
|
||||||
public function getPendingSceneId () :int
|
public function getPendingSceneId () :int
|
||||||
{
|
{
|
||||||
return _pendingData.sceneId;
|
return _pendingData == null ? -1 : _pendingData.sceneId;
|
||||||
}
|
}
|
||||||
|
|
||||||
// from interface SceneService_SceneMoveListener
|
// from interface SceneService_SceneMoveListener
|
||||||
|
|||||||
Reference in New Issue
Block a user