{"action":"closed","issue":{"url":"https://api.github.com/repos/Rusketh/ExpAdv2/issues/367","repository_url":"https://api.github.com/repos/Rusketh/ExpAdv2","labels_url":"https://api.github.com/repos/Rusketh/ExpAdv2/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/Rusketh/ExpAdv2/issues/367/comments","events_url":"https://api.github.com/repos/Rusketh/ExpAdv2/issues/367/events","html_url":"https://github.com/Rusketh/ExpAdv2/issues/367","id":166926707,"number":367,"title":"vector.clone() produces invalid vector","user":{"login":"Doubleumc","id":14267245,"avatar_url":"https://avatars.githubusercontent.com/u/14267245?v=3","gravatar_id":"","url":"https://api.github.com/users/Doubleumc","html_url":"https://github.com/Doubleumc","followers_url":"https://api.github.com/users/Doubleumc/followers","following_url":"https://api.github.com/users/Doubleumc/following{/other_user}","gists_url":"https://api.github.com/users/Doubleumc/gists{/gist_id}","starred_url":"https://api.github.com/users/Doubleumc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doubleumc/subscriptions","organizations_url":"https://api.github.com/users/Doubleumc/orgs","repos_url":"https://api.github.com/users/Doubleumc/repos","events_url":"https://api.github.com/users/Doubleumc/events{/privacy}","received_events_url":"https://api.github.com/users/Doubleumc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-21T21:53:20Z","updated_at":"2016-07-31T08:39:58Z","closed_at":"2016-07-31T08:39:58Z","body":"The vector.clone() command does not create a valid vector.  The following code demonstrates this:\r\n```\r\nserver {\r\n    vector Vec = vec(10, 20, 30)\r\n    vector Clone = Original.clone()\r\n    print(Original, Clone)\r\n}\r\n```\r\nThis code produces the following output:\r\n```\r\nVec( 10.00, 20.00, 30.00 )Vec(void, void, void)\r\n```\r\nThe cloned vector does not properly exist.  Furthermore, any attempt to interact with the clone, such as with `Clone.setX(10)` throws an error:\r\n```\r\nExpression Advanced 2 - Suffered a serverside Script error:\r\nattempt to reach void\r\n```\r\nOr with `Clone += vec(1, 2, 3)`:\r\n```\r\nExpression Advanced 2 - Suffered a serverside Script error:\r\nEXPADV2:16: bad argument #1 to '__add' (Vector expected, got nil)\r\n```"}}
{"actor":{"display_login":"ArmyArmyCz"}}