mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 17:38:10 +08:00
Fix build issue
This commit is contained in:
1 parent
bdcb7fa784
commit
778c33a246
1 file changed
+3
-1
@@ -39,6 +39,8 @@ namespace Pal3.Game.Scene.SceneObjects
|
||||
private readonly SceneStateManager _sceneStateManager;
|
||||
|
||||
// State is either -1, 0 or 1 (0 is the default state)
|
||||
// -1 means the switch is in the left position
|
||||
// 1 means the switch is in the right position
|
||||
private int _previousState;
|
||||
private int _currentState;
|
||||
|
||||
@@ -96,7 +98,7 @@ namespace Pal3.Game.Scene.SceneObjects
|
||||
if (ctx.StartedByPlayer && ctx.InitObjectId == ObjectInfo.Id)
|
||||
{
|
||||
Pal3.Instance.Execute(new ActorStopActionAndStandCommand(ActorConstants.PlayerActorVirtualID));
|
||||
Pal3.Instance.Execute new PlayerActorLookAtSceneObjectCommand(ObjectInfo.Id));
|
||||
Pal3.Instance.Execute(new PlayerActorLookAtSceneObjectCommand(ObjectInfo.Id));
|
||||
Pal3.Instance.Execute(new ActorPerformActionCommand(ActorConstants.PlayerActorVirtualID,
|
||||
ActorConstants.ActionToNameMap[ActorActionType.Check], 1));
|
||||
|
||||
|
||||
Reference in new issue
Block a user