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:
adelikat 2014-06-02 01:05:51 +00:00
parent 5d79072a38
commit f72b13bed3
1 changed files with 1 additions and 1 deletions
BizHawk.Client.Common/lua

View File

@ -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()))
{