mirror of
https://github.com/moparisthebest/Simba
synced 2025-03-03 02:41:54 -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;
|
||||
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]);
|
||||
mDebugLn(str);
|
||||
end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user