修复
This commit is contained in:
@@ -385,6 +385,7 @@ void GameMap::Enter()
|
||||
|
||||
void GameMap::OnUpdate(float deltaTime)
|
||||
{
|
||||
Actor::OnUpdate(deltaTime);
|
||||
|
||||
RefPtr<GameCamera> Cam = Global_Game::GetInstance().GetCamera();
|
||||
if (Cam == nullptr)
|
||||
@@ -431,7 +432,6 @@ void GameMap::OnUpdate(float deltaTime)
|
||||
Layer.second->SetPosition(posX, posY);
|
||||
}
|
||||
|
||||
Actor::OnUpdate(deltaTime);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user