Implemented a read check between ui/play/data fields with a meaningful error
This commit is contained in:
parent
a7a4406bb1
commit
a2f3d8511d
2 changed files with 16 additions and 7 deletions
|
|
@ -182,7 +182,7 @@ struct FScopeBarrier
|
|||
if ((sideto == Side_UI) != (sidefrom == Side_UI)) // only ui -> ui is readable
|
||||
{
|
||||
readable = false;
|
||||
readerror.Format("Can't read %s field %s from %s context", StringFromSide(sideto), StringFromSide(sidefrom));
|
||||
readerror.Format("Can't read %s field %s from %s context", StringFromSide(sideto), name, StringFromSide(sidefrom));
|
||||
}
|
||||
|
||||
if (!readable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue