diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2018-09-07 22:36:39 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2018-09-07 22:36:39 +0200 |
commit | d789cbeb6b58daf55102460638d48ff9cc0c45ff (patch) | |
tree | 2bd5e91f74803c8e02824e0bff53f4e22459f46b /scene/3d | |
parent | 4b6846a59d785af3bef6a29958387ed0ee0f6575 (diff) |
Tweak the Light instantiation error message and fix a typo
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/light.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |