Skip to content

Commit

Permalink
MultiServer: remove remaining forfeit compat from network layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 committed Apr 8, 2023
1 parent bbf8546 commit f4035b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MultiServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def get_save(self) -> dict:
"stored_data": self.stored_data,
"game_options": {"hint_cost": self.hint_cost, "location_check_points": self.location_check_points,
"server_password": self.server_password, "password": self.password,
"forfeit_mode": self.release_mode, "release_mode": self.release_mode, # TODO remove forfeit_mode around 0.4
"release_mode": self.release_mode,
"remaining_mode": self.remaining_mode, "collect_mode": self.collect_mode,
"item_cheat": self.item_cheat, "compatibility": self.compatibility}

Expand Down Expand Up @@ -769,7 +769,6 @@ async def on_client_connected(ctx: Context, client: Client):

def get_permissions(ctx) -> typing.Dict[str, Permission]:
return {
"forfeit": Permission.from_text(ctx.release_mode), # TODO remove around 0.4
"release": Permission.from_text(ctx.release_mode),
"remaining": Permission.from_text(ctx.remaining_mode),
"collect": Permission.from_text(ctx.collect_mode)
Expand Down

0 comments on commit f4035b8

Please sign in to comment.