mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
Update management.py
This commit is contained in:
parent
88129dc7a8
commit
f644d6aabc
1 changed files with 2 additions and 2 deletions
|
|
@ -385,13 +385,13 @@ def nv(arguments):
|
||||||
|
|
||||||
|
|
||||||
def tint(arguments):
|
def tint(arguments):
|
||||||
print(len(arguments))
|
|
||||||
if len(arguments) == 3:
|
if len(arguments) == 3:
|
||||||
args = arguments
|
args = arguments
|
||||||
r, g, b = float(args[0]), float(args[1]), float(args[2])
|
r, g, b = float(args[0]), float(args[1]), float(args[2])
|
||||||
try:
|
try:
|
||||||
# print(dir(activity.globalsnode))
|
# print(dir(activity.globalsnode))
|
||||||
print(r, g, b)
|
|
||||||
activity = bs.get_foreground_host_activity()
|
activity = bs.get_foreground_host_activity()
|
||||||
activity.globalsnode.tint = (r, g, b)
|
activity.globalsnode.tint = (r, g, b)
|
||||||
except:
|
except:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue