File tree Expand file tree Collapse file tree
content/panorama/scripts/custom_game
game/scripts/vscripts/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,5 @@ GameUI.SetDefaultUIEnabled(DotaDefaultUIElement_t.DOTA_DEFAULT_UI_FLYOUT_SCOREBO
66GameUI . SetDefaultUIEnabled ( DotaDefaultUIElement_t . DOTA_DEFAULT_UI_TOP_BAR_BACKGROUND , false ) ;
77GameUI . SetDefaultUIEnabled ( DotaDefaultUIElement_t . DOTA_DEFAULT_UI_TOP_HEROES , false ) ;
88
9- const hudRoot = $ . GetContextPanel ( )
10- . GetParent ( ) !
11- . GetParent ( ) ! ;
9+ const hudRoot = $ . GetContextPanel ( ) . GetParent ( ) ! . GetParent ( ) ! ;
1210hudRoot . FindChildTraverse ( "quickstats" ) ! . style . visibility = "collapse" ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export const registerAbility = (name?: string) => (ability: new () => CDOTA_Abil
4545 toDotaClassInstance ( env [ name ] , ability ) ;
4646
4747 const originalSpawn = env [ name ] . Spawn ;
48- env [ name ] . Spawn = function ( ) {
48+ env [ name ] . Spawn = function ( ) {
4949 this . ____constructor ( ) ;
5050 if ( originalSpawn ) {
5151 originalSpawn . call ( this ) ;
@@ -73,7 +73,7 @@ export const registerModifier = (name?: string) => (modifier: new () => CDOTA_Mo
7373 toDotaClassInstance ( env [ name ] , modifier ) ;
7474
7575 const originalOnCreated = env [ name ] . OnCreated ;
76- env [ name ] . OnCreated = function ( parameters : any ) {
76+ env [ name ] . OnCreated = function ( parameters : any ) {
7777 this . ____constructor ( ) ;
7878 if ( originalOnCreated ) {
7979 originalOnCreated . call ( this , parameters ) ;
You can’t perform that action at this time.
0 commit comments