Skip to content

Commit 45c5b3c

Browse files
anarchuserxeruf
authored andcommitted
docs(sdk): comment on the changes to SlotDescriptor in java code
1 parent 7136775 commit 45c5b3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/sc/server/gaming/GameRoom.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ public void openSlots(SlotDescriptor[] descriptors)
652652

653653
for (int i = 0; i < descriptors.length; i++) {
654654
this.playerSlots.get(i).setDescriptor(descriptors[i]);
655+
// isShouldBePaused should work. If not, change to getShouldBePaused. Calling Kt from Jv may cause issues here
655656
if (descriptors[i].isShouldBePaused()) {
656657
pause(true);
657658
}

0 commit comments

Comments
 (0)