From d789cbeb6b58daf55102460638d48ff9cc0c45ff Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 7 Sep 2018 22:36:39 +0200 Subject: [PATCH] Tweak the Light instantiation error message and fix a typo --- scene/3d/light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/3d/light.cpp b/scene/3d/light.cpp index 16164cf3bf..762e090590 100644 --- a/scene/3d/light.cpp +++ b/scene/3d/light.cpp @@ -312,7 +312,7 @@ Light::Light(VisualServer::LightType p_type) { Light::Light() { type = VisualServer::LIGHT_DIRECTIONAL; - ERR_PRINT("Light shouldn't be instanced dircetly, use the subtypes."); + ERR_PRINT("Light should not be instanced directly; use the DirectionalLight, OmniLight or SpotLight subtypes instead."); } Light::~Light() {