hedgewars/uScript.pas
changeset 9531 7fcdedc45589
parent 9409 6564baf7dedf
child 9567 42bc1b58a242
--- a/hedgewars/uScript.pas	Sun Oct 13 21:53:42 2013 +0400
+++ b/hedgewars/uScript.pas	Sun Oct 13 22:31:51 2013 +0400
@@ -2088,7 +2088,10 @@
 begin
 s:= cPathz[ptData] + name;
 if not pfsExists(s) then
+    begin
+    AddFileLog('[LUA] Script not found: ' + name);
     exit;
+    end;
 
 f:= pfsOpenRead(s);
 if f = nil then