add explicit osMakeNotecard(string notecardName, LSL_String contents) so it does not depend on implicit cast from string to list, as before

This commit is contained in:
UbitUmarov
2022-01-06 20:42:50 +00:00
parent ce5dca5c56
commit e78caeeac8
4 changed files with 40 additions and 29 deletions

View File

@@ -493,7 +493,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
m_OSSL_Functions.osMessageObject(objectUUID,message);
}
public void osMakeNotecard(string notecardName, LSL_Types.list contents)
public void osMakeNotecard(string notecardName, LSL_String contents)
{
m_OSSL_Functions.osMakeNotecard(notecardName, contents);
}
public void osMakeNotecard(string notecardName, LSL_List contents)
{
m_OSSL_Functions.osMakeNotecard(notecardName, contents);
}