Commit 41b4bfb5 authored by 魔大农's avatar 魔大农

Refrain from saving endgame to xml

parent 08b86959
......@@ -40,7 +40,7 @@ Board::Board(): Object(MC->GetContext()),
Node* lightNode{slotNode->CreateChild("Light")};
lightNode->SetPosition(Vector3::UP * 0.23f);
square->light_ = lightNode->CreateComponent<Light>();
square->light_->SetColor(COLOR_GLOW/*Color(0.0f, 0.8f, 0.5f)*/);
square->light_->SetColor(COLOR_GLOW);
square->light_->SetBrightness(0.05f);
square->light_->SetRange(2.0f);
square->light_->SetCastShadows(false);
......
......@@ -69,8 +69,8 @@ void MasterControl::Stop()
}
void MasterControl::Exit()
{
File file(context_, "Resources/Endgame.xml", FILE_WRITE);
world_.scene_->SaveXML(file);
// File file(context_, "Resources/Endgame.xml", FILE_WRITE);
// world_.scene_->SaveXML(file);
engine_->Exit();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment