Skip to content

Commit

Permalink
Disabled AI in multiplayer mode, removed debug info attached to sdCha…
Browse files Browse the repository at this point in the history
…in, causing a lot of memory usage and probably crash for some players
  • Loading branch information
Eric-Gurt committed Jul 13, 2018
1 parent c62054f commit a64dff9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/sdAtom.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class sdChain

this.removed = false;

this.stack = sdShaderMaterial.getStackTrace();
//this.stack = sdShaderMaterial.getStackTrace();
}
remove()
{
Expand Down
1 change: 1 addition & 0 deletions js/sdCharacter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,7 @@ class sdCharacter

if ( c.ai !== null )
if ( c !== main.my_character )
if ( !main.MP_mode )
c.ai.ApplyLogic( GSPEED );

if ( c.y < -200 )
Expand Down

0 comments on commit a64dff9

Please sign in to comment.