Lua - events.unregisterbyid() - strongly type guid to string since that's what the methods return that give guids back to the script
This commit is contained in:
parent
5d79072a38
commit
f72b13bed3
BizHawk.Client.Common/lua
|
@ -228,7 +228,7 @@ namespace BizHawk.Client.Common
|
|||
"unregisterbyid",
|
||||
"Removes the registered function that matches the guid. If a function is found and remove the function will return true. If unable to find a match, the function will return false."
|
||||
)]
|
||||
public bool UnregisterById(object guid)
|
||||
public bool UnregisterById(string guid)
|
||||
{
|
||||
foreach (var nlf in _luaFunctions.Where(nlf => nlf.Guid.ToString() == guid.ToString()))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue