mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-17 07:02:53 -04:00
Refactored EntertainmentService to to allow music to function properly
Modified startdance script to work with the refactored EntertainmentService
This commit is contained in:
@@ -56,7 +56,9 @@ def startDance(core, actor, danceName, visual):
|
||||
entSvc = core.entertainmentService
|
||||
|
||||
if visual <= 0:
|
||||
visual = entSvc.getDanceVisualId(danceName)
|
||||
print("[PYTHON] startdance.visual = " , visual)
|
||||
visual = entSvc.getDanceVisualId(danceName)
|
||||
print("[PYTHON] startdance.visual = " , visual)
|
||||
|
||||
if visual <= 0:
|
||||
actor.sendSystemMessage('@performance:dance_unknown_self',0)
|
||||
|
||||
Reference in New Issue
Block a user