File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ class APGameState {
108108
109109 public var APLocations : Array <Int > = [];
110110 public var APItems : Map <String , Int > = new Map <String , Int >();
111- public var ItemIndex : Int = 0 ;
111+ public var ItemIndex : Int = 1 ;
112112
113113 public function locationData (songName : String ): Array <Int > {
114114 // trace("Starting locationData function with songName: " + songName);
@@ -282,6 +282,7 @@ class APGameState {
282282 function addSongs (song : Array <NetworkItem >)
283283 {
284284 var nonSongs : Map <String , Int > = [];
285+ var nonSongsNames : Array <String > = [];
285286 states. FreeplayState .curMissing .clear ();
286287
287288
@@ -294,6 +295,7 @@ class APGameState {
294295 if (APItems .exists (itemName ) && APItems .get (itemName ) == songName .item )
295296 {
296297 nonSongs .set (itemName , songName .index );
298+ nonSongsNames .push (itemName );
297299 continue ;
298300 }
299301
@@ -382,7 +384,7 @@ class APGameState {
382384 }
383385 }
384386
385- for (items in nonSongs . keys () )
387+ for (items in nonSongsNames )
386388 {
387389 if (nonSongs .get (items ) <= ItemIndex )
388390 {
Original file line number Diff line number Diff line change @@ -1388,8 +1388,8 @@ effectMap = [
13881388 {
13891389 randoTimer .start (FlxG .random .float (5 , 10 ), function (tmr : FlxTimer )
13901390 {
1391- doEffect (effectArray [curEffect ]);
13921391 tmr .reset (FlxG .random .float (5 , 10 ));
1392+ doEffect (effectArray [curEffect ]);
13931393 });
13941394 trace (" Ghost Chat Activated! L E T T H E C H A O S B E G I N !" );
13951395 }
Original file line number Diff line number Diff line change @@ -952,7 +952,9 @@ class Client {
952952 Synchronizes check progress with the multiworld server.
953953 @return Whether the operation was successful.
954954 **/
955+ public var firstSync : Bool = true ;
955956 public function Sync (): Bool {
957+ firstSync = false ;
956958 if (state < State .SLOT_CONNECTED )
957959 return false ;
958960 return InternalSend (OutgoingPacket . Sync );
You can’t perform that action at this time.
0 commit comments