6a08107 - Make player and target frame always full opacity
authorAleksi Blinnikka <aleksi.blinnikka@iki.fi>
Sat, 23 May 2020 19:17:32 +0000
committerAleksi Blinnikka <aleksi.blinnikka@iki.fi>
Sat, 23 May 2020 19:17:36 +0000
kehys/player.lua
kehys/target.lua

index ca0bd8b..338e43d 100644 (file)
@@ -36,7 +36,8 @@ local function initPlayer(parent, width, height, update, event)
     f:SetAttribute("vehicle", "vehicle");
     f.unit = "player";
     f.displayed = "player";
-    f.vehicle = "vehicle"
+    f.vehicle = "vehicle";
+    f.constant = true;
     f.prev = {};
 
     playerUpdate = function()
index 13434f0..ac30994 100644 (file)
@@ -37,6 +37,7 @@ local function initTarget(parent, width, height, update, event)
     f:SetAttribute("displayed", "target");
     f.unit = "target";
     f.displayed = "target";
+    f.constant = true;
     f.prev = {};
 
     targetUpdate = function()