Преглед на файлове

Tweak the Light instantiation error message and fix a typo

Hugo Locurcio преди 7 години
родител
ревизия
d789cbeb6b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      scene/3d/light.cpp

+ 1 - 1
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() {