mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-17 23:05:00 -05:00
Added another safety check for the heck of it.
This commit is contained in:
parent
931084900e
commit
a7d6cd748b
@ -288,7 +288,7 @@ end;
|
|||||||
|
|
||||||
procedure ps_DebugLn(str : string); extdecl;
|
procedure ps_DebugLn(str : string); extdecl;
|
||||||
begin
|
begin
|
||||||
if CurrThread.Prop.WriteTimeStamp then
|
if Assigned(CurrThread) and CurrThread.Prop.WriteTimeStamp then
|
||||||
str := format('[%s]: %s', [TimeToStr(TimeStampToDateTime(MSecsToTimeStamp(GetTickCount - CurrThread.StartTime))), str]);
|
str := format('[%s]: %s', [TimeToStr(TimeStampToDateTime(MSecsToTimeStamp(GetTickCount - CurrThread.StartTime))), str]);
|
||||||
mDebugLn(str);
|
mDebugLn(str);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user