Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ketMix/ebijam24
Browse files Browse the repository at this point in the history
  • Loading branch information
liqMix committed Jun 29, 2024
2 parents 72d43b6 + 31d237f commit 82b75ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/game/tower.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ func (t *Tower) AddDude(d *Dude) {
}
story := t.Stories[0]
story.AddDude(d)
d.activity = FirstEntering
d.activity = Centering
//d.stack.HeightOffset = 20
enter := TowerEntrance - d.variation
if enter < TowerEntrance+0.1 {
enter = TowerEntrance
enter := RoomPath - d.variation
if enter < RoomPath+0.1 {
enter = RoomPath
}
d.SetPosition(story.PositionFromCenter(math.Pi/2, enter))
d.SetPosition(story.PositionFromCenter(math.Pi/2-math.Pi/12, enter))
t.dudes = append(t.dudes, d)
}

Expand Down

0 comments on commit 82b75ed

Please sign in to comment.