{"action":"created","issue":{"url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/2926","repository_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K","labels_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/2926/labels{/name}","comments_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/2926/comments","events_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/2926/events","html_url":"https://github.com/ZeroK-RTS/Zero-K/issues/2926","id":316465800,"number":2926,"title":"Starlight save/load causes LuaRules errors","user":{"login":"lhog","id":1476261,"avatar_url":"https://avatars3.githubusercontent.com/u/1476261?v=4","gravatar_id":"","url":"https://api.github.com/users/lhog","html_url":"https://github.com/lhog","followers_url":"https://api.github.com/users/lhog/followers","following_url":"https://api.github.com/users/lhog/following{/other_user}","gists_url":"https://api.github.com/users/lhog/gists{/gist_id}","starred_url":"https://api.github.com/users/lhog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhog/subscriptions","organizations_url":"https://api.github.com/users/lhog/orgs","repos_url":"https://api.github.com/users/lhog/repos","events_url":"https://api.github.com/users/lhog/events{/privacy}","received_events_url":"https://api.github.com/users/lhog/received_events","type":"User","site_admin":false},"labels":[{"id":106931576,"url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/labels/feedback%20required","name":"feedback required","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-21T06:08:57Z","updated_at":"2018-04-21T13:54:28Z","closed_at":"2018-04-21T13:54:28Z","author_association":"CONTRIBUTOR","body":"1. Start a skirmish game\r\n2. Cheat, nocost for speed\r\n3. Make starlight\r\n4. Save the game\r\n5. Load the game.\r\n6. Observe the errors similar to the below:\r\n\r\n```\r\n[f=-000001] [Game::ClientReadNet][LOGMSG] sender=\"ivand\" string=\"[Internal Lua error: Call failure] [string \"LuaRules/Gadgets/unit_regeneration.lua\"]:85: attempt to perform arithmetic on upvalue 'currentFrame' (a nil value)\r\nstack traceback:\r\n\t[string \"LuaRules/Gadgets/unit_regeneration.lua\"]:85: in function 'UnitDamaged'\r\n\t[string \"LuaRules/gadgets.lua\"]:1564: in function <[string \"LuaRules/gadgets.lua\"]:1549>\r\n\t(tail call): ?\r\n\t[C]: in function 'DestroyUnit'\r\n\t[string \"LuaRules/Gadgets/unit_carrier_drones.lua\"]:856: in function 'LoadDrone'\r\n\t[string \"LuaRules/Gadgets/unit_carrier_drones.lua\"]:863: in function 'Load'\r\n\t[string \"LuaRules/gadgets.lua\"]:2039: in function <[string \"LuaRules/gadgets.lua\"]:2037>\r\n\t(tail call): ?\"\r\n```"},"comment":{"url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/comments/383297246","html_url":"https://github.com/ZeroK-RTS/Zero-K/issues/2926#issuecomment-383297246","issue_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/2926","id":383297246,"user":{"login":"sprunk","id":2573076,"avatar_url":"https://avatars0.githubusercontent.com/u/2573076?v=4","gravatar_id":"","url":"https://api.github.com/users/sprunk","html_url":"https://github.com/sprunk","followers_url":"https://api.github.com/users/sprunk/followers","following_url":"https://api.github.com/users/sprunk/following{/other_user}","gists_url":"https://api.github.com/users/sprunk/gists{/gist_id}","starred_url":"https://api.github.com/users/sprunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprunk/subscriptions","organizations_url":"https://api.github.com/users/sprunk/orgs","repos_url":"https://api.github.com/users/sprunk/repos","events_url":"https://api.github.com/users/sprunk/events{/privacy}","received_events_url":"https://api.github.com/users/sprunk/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T13:54:28Z","updated_at":"2018-04-21T13:54:28Z","author_association":"MEMBER","body":"814b96476d2529e7a0c3fbe243f178d7862eee5b"}}
{"actor":{"display_login":"sprunk"}}