{"action":"closed","issue":{"url":"https://api.github.com/repos/Neproify/IV-Network/issues/1","repository_url":"https://api.github.com/repos/Neproify/IV-Network","labels_url":"https://api.github.com/repos/Neproify/IV-Network/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Neproify/IV-Network/issues/1/comments","events_url":"https://api.github.com/repos/Neproify/IV-Network/issues/1/events","html_url":"https://github.com/Neproify/IV-Network/issues/1","id":189734728,"number":1,"title":"Squirrel events crash.","user":{"login":"Neproify","id":4984233,"avatar_url":"https://avatars.githubusercontent.com/u/4984233?v=3","gravatar_id":"","url":"https://api.github.com/users/Neproify","html_url":"https://github.com/Neproify","followers_url":"https://api.github.com/users/Neproify/followers","following_url":"https://api.github.com/users/Neproify/following{/other_user}","gists_url":"https://api.github.com/users/Neproify/gists{/gist_id}","starred_url":"https://api.github.com/users/Neproify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neproify/subscriptions","organizations_url":"https://api.github.com/users/Neproify/orgs","repos_url":"https://api.github.com/users/Neproify/repos","events_url":"https://api.github.com/users/Neproify/events{/privacy}","received_events_url":"https://api.github.com/users/Neproify/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-16T15:20:04Z","updated_at":"2016-11-22T20:56:01Z","closed_at":"2016-11-22T20:56:01Z","body":"Squirrel script will throw error if we don't provide exactly this same count of args in function when adding event.\r\n**Lua in this same situation works well.**\r\n\r\n**Works**\r\n```\r\nfunction onResourceStart(resourceName)\r\n{\r\n}\r\naddEvent(\"resourceStarted\", onResourceStart);\r\n```\r\n**Error**\r\n```\r\nfunction onResourceStart()\r\n{\r\n}\r\naddEvent(\"resourceStarted\", onResourceStart);\r\n```"}}
{"actor":{"display_login":"Neproify"}}