Skip to content

Commit

Permalink
Fix placing books at the edges of bookshelves
Browse files Browse the repository at this point in the history
  • Loading branch information
out-of-phaze authored and comma committed Nov 1, 2024
1 parent 2842698 commit e160049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/structures/bookcase.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var/global/list/station_bookcases = list()
if(place_x < 0 || place_x >= book_slots_x || place_y < 0 || place_y >= book_slots_y)
return

var/place_key = GET_BOOK_POS(src, place_y, place_x)
var/place_key = GET_BOOK_POS(src, place_x, place_y)

if(isnull(book_positions[place_key]))
book_positions[place_key] = inserted
Expand Down

0 comments on commit e160049

Please sign in to comment.