I got an error.
******* script runtime error *******
removed entity is not an entity: (file ‘/_mapvoting.gsc’, line 206)
level.MapVoteHud[0] destroy();
CreateHud()
{
level.MapVoteHud[0] = newHudElem();
level.MapVoteHud[0].hideWhenInMenu = true;
level.MapVoteHud[0].alignX = "center";
level.MapVoteHud[0].horzAlign = "fullscreen";
level.MapVoteHud[0].vertAlign = "fullscreen";
level.MapVoteHud[0].x = 320;
-------
I have already defined the hud I think.
error occurs at
+204 DeleteHud()
+205 {
+206 level.MapVoteHud[0] destroy();
level.MapVoteHud[1] destroy();
level.MapVoteHud[2] destroy();
level.MapVoteHud[3] destroy();
level.MapVoteHud[4] destroy();
level.MapVoteNames[0] destroy();
level.MapVoteNa