File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -546,9 +546,12 @@ class APGameState
546546 || _ap .clientStatus == ClientStatus .READY ;
547547 }
548548
549+ public var _slotData : Dynamic ;
550+
549551 public function new (ap : Client , slotData : Dynamic )
550552 {
551553 _ap = ap ;
554+ _slotData = slotData ;
552555
553556 _seed = _ap .seed ;
554557
@@ -583,7 +586,7 @@ class APGameState
583586 }
584587 });
585588
586- _ap .toggleDeathLink (ClientPrefs .data .deathlink );
589+ _ap .toggleDeathLink (slotData != null && Reflect . hasField ( slotData , " deathLink " ) ? slotData . deathLink : ClientPrefs .data .deathlink );
587590
588591 _ap .onRetrieved .add (handleRetrievedPacket );
589592
Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ class APInfo {
1919 public static var hintPoints (get , never ): Int ;
2020 public static var hintCost (get , never ): Int ;
2121
22+ public static var slotData (get , never ): Dynamic ;
23+ public static function get_slotData (): Dynamic {
24+ return apGame ?. _slotData ;
25+ }
26+
2227 public static var gradeList : Array <String > =
2328 [
2429 ' Any' ,
You can’t perform that action at this time.
0 commit comments