diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp
index 5453d9b2ed509c3cac9b8b0a12e36a312602c3ac..ba6d25c9f7974bf43700ba0a84dbc2077176a210 100644
--- a/src/scriptapi.cpp
+++ b/src/scriptapi.cpp
@@ -916,8 +916,6 @@ static void read_object_properties(lua_State *L, int index,
 	getboolfield(L, -1, "is_visible", prop->is_visible);
 	getboolfield(L, -1, "makes_footstep_sound", prop->makes_footstep_sound);
 	getfloatfield(L, -1, "automatic_rotate", prop->automatic_rotate);
-	dstream<<"scriptapi: prop->automatic_rotate="
-			<<prop->automatic_rotate<<std::endl;
 }
 
 /*