Renaming functions

This commit is contained in:
Erris
2026-02-10 09:41:00 +01:00
parent 6ba709bf4f
commit f39784795f
2 changed files with 4 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ class Sandbox2DLayer : public OpenEngine::Layer
bool StopRunning(OpenEngine::KeyPressedEvent& event)
{
if (event.GetKeyCode() == OE_KEY_ESCAPE) {
OpenEngine::Application::Get().StopRunning();
OpenEngine::Application::Get().Close();
return true;
}