mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 21:38:38 +00:00
Moved ContextualColor to update so it updates live
This commit is contained in:
parent
b2426d164f
commit
762e881ea7
@ -50,8 +50,6 @@ namespace Artemis.Modules.Games.RocketLeague
|
||||
{
|
||||
Initialized = false;
|
||||
|
||||
ContextualColor = Settings.ContextualColor;
|
||||
|
||||
_boostRect = new KeyboardRectangle(MainManager.KeyboardManager.ActiveKeyboard, 0, 0, new List<Color>
|
||||
{
|
||||
ColorHelpers.ToDrawingColor(Settings.MainColor),
|
||||
@ -74,6 +72,7 @@ namespace Artemis.Modules.Games.RocketLeague
|
||||
if (_memory == null)
|
||||
return;
|
||||
|
||||
ContextualColor = Settings.ContextualColor;
|
||||
var offsets = _pointer.GameAddresses.First(ga => ga.Description == "Boost").ToString();
|
||||
var boostAddress = _memory.GetAddress("\"RocketLeague.exe\"" + offsets);
|
||||
var boostFloat = _memory.ReadFloat(boostAddress)*100/3;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user