Skip to content

Commit d2cc2eb

Browse files
committed
Update Highlight.py
1 parent 52630cb commit d2cc2eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Highlight.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def SetFillColor(self, newColor : Vector3): #placeholder until i add color3
88
NewMemoryRegion = roblox.Program.allocate(100)
99
NewMemAddress = NewMemoryRegion
1010
struct = roblox.Program.allocate(12)
11-
InstanceAddress = Highlight.getAddress() #Change This
12-
FunctionAddress = Highlight.GetPropertyDescriptor("FillColor").GetSet().Set()
11+
InstanceAddress = self.getAddress() #Change This
12+
FunctionAddress = self.GetPropertyDescriptor("FillColor").GetSet().Set()
1313
roblox.Program.write_float(struct, newColor.x)
1414
roblox.Program.write_float(struct + 4, newColor.y)
1515
roblox.Program.write_float(struct + 8, newColor.z)

0 commit comments

Comments
 (0)