testing to fix memleak and disabling voting requires maprotation

This commit is contained in:
2026-05-10 04:27:29 +02:00
parent 33165763de
commit ab5ea78957
6 changed files with 98 additions and 48 deletions

View File

@@ -296,11 +296,9 @@ getDisplayName(map)
createRectangle(shader,align, relative, x, y, width, height)
{
hud = newHudElem();
hud.sTexType = "bar";
hud.elemType = "icon";
hud.width = width;
hud.height = height;
hud.align = align;
hud.relative = relative;
hud.alpha = 1;
hud.xOffset = 0;
hud.yOffset = 0;
@@ -316,11 +314,9 @@ createRectangle(shader,align, relative, x, y, width, height)
createPlayerRectangle(shader,align, relative, x, y, width, height)
{
hud = newClientHudElem(self);
hud.sTexType = "bar";
hud.elemType = "icon";
hud.width = width;
hud.height = height;
hud.align = align;
hud.relative = relative;
hud.alpha = 1;
hud.xOffset = 0;
hud.yOffset = 0;