Don't let a player create a new table or join an existing table if they're
already sitting at a table. We also enforce this in the UI (though not in certain cases in MSOY at the moment which is how this was uncovered). git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@577 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -55,7 +55,11 @@ public interface ParlorCodes extends InvocationCodes
|
||||
* occupied. */
|
||||
public static final String TABLE_POSITION_OCCUPIED = "m.table_position_occupied";
|
||||
|
||||
/** An error code returned when a user requests to leave a table that
|
||||
* they were not sitting at in the first place. */
|
||||
/** An error code returned when a user requests to creat or join a table but they're already
|
||||
* sitting at another table. */
|
||||
public static final String ALREADY_AT_TABLE = "m.already_at_table";
|
||||
|
||||
/** An error code returned when a user requests to leave a table that they were not sitting at
|
||||
* in the first place. */
|
||||
public static final String NOT_AT_TABLE = "m.not_at_table";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user