Skip to content

Commit

Permalink
fix: docker build and z ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenira committed Jun 4, 2023
1 parent 34b5dac commit 9223bfc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ WORKDIR /usr/local/bin
RUN apk add libgcc && addgroup -S serveruser && adduser -S serveruser -G serveruser
COPY --from=builder-server /server/target/x86_64-unknown-linux-musl/release/rog-server .
COPY --from=builder-client /client/dist ./static
COPY --from=builder-client /client/assets ./static/assets
COPY ./server/static ./static
COPY ./client/assets ./static/assets
USER root
EXPOSE 8000/tcp
CMD ["rog-server"]
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Service:
☐ Validate display name
Lobby:
☐ Kick Player
☐ Promote Player
Expand Down
2 changes: 1 addition & 1 deletion client/src/states/game_shop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ fn setup(
commands.spawn((
SpriteBundle {
texture: asset_server.load("textures/ui/reroll.png"),
transform: Transform::from_translation(Vec3::new(64.0 * 6.0, 200.0, 0.0)),
transform: Transform::from_translation(Vec3::new(64.0 * 6.0, 200.0, 5.0)),
..Default::default()
},
Hoverable("hover".to_string(), "leave".to_string()),
Expand Down
2 changes: 1 addition & 1 deletion server/src/service/combat_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fn execute_turn(

// Get attacking creature
while battle.board[*index].is_none() {
if *index < 6 {
if *index < 5 {
*index += 1;
} else {
*index = 0;
Expand Down

0 comments on commit 9223bfc

Please sign in to comment.