changeset 9531 | 7fcdedc45589 |
parent 9409 | 6564baf7dedf |
child 9567 | 42bc1b58a242 |
9528:9351e96990ae | 9531:7fcdedc45589 |
---|---|
2086 f : PFSFile; |
2086 f : PFSFile; |
2087 buf : array[0..Pred(BUFSIZE)] of byte; |
2087 buf : array[0..Pred(BUFSIZE)] of byte; |
2088 begin |
2088 begin |
2089 s:= cPathz[ptData] + name; |
2089 s:= cPathz[ptData] + name; |
2090 if not pfsExists(s) then |
2090 if not pfsExists(s) then |
2091 begin |
|
2092 AddFileLog('[LUA] Script not found: ' + name); |
|
2091 exit; |
2093 exit; |
2094 end; |
|
2092 |
2095 |
2093 f:= pfsOpenRead(s); |
2096 f:= pfsOpenRead(s); |
2094 if f = nil then |
2097 if f = nil then |
2095 exit; |
2098 exit; |
2096 |
2099 |