equal
deleted
inserted
replaced
155 + inttostr(LuaDebugInfo.currentLine) + ']: ' + s; |
155 + inttostr(LuaDebugInfo.currentLine) + ']: ' + s; |
156 end |
156 end |
157 else |
157 else |
158 s:= intro + ': ' + s; |
158 s:= intro + ': ' + s; |
159 WriteLnToConsole(s); |
159 WriteLnToConsole(s); |
160 AddChatString(#5 + s); |
160 if isWarning then |
|
161 AddChatString(#0 + s) |
|
162 else |
|
163 AddChatString(#5 + s); |
161 if cTestLua and (not isWarning) then |
164 if cTestLua and (not isWarning) then |
162 halt(HaltTestLuaError); |
165 halt(HaltTestLuaError); |
163 end; |
166 end; |
164 |
167 |
165 procedure LuaError(s: shortstring); |
168 procedure LuaError(s: shortstring); |