reduce logging to 0 for rlrease and fix planting bug
This commit is contained in:
parent
cfcc5b9ade
commit
498e5cb4a2
2 changed files with 3 additions and 1 deletions
|
|
@ -33,6 +33,8 @@ main :: proc() {
|
|||
}
|
||||
mem.tracking_allocator_destroy(&track)
|
||||
}
|
||||
} else {
|
||||
rl.SetTraceLogLevel(.NONE)
|
||||
}
|
||||
|
||||
run()
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ interact_with_tile_under_mouse :: proc(mouse_button: rl.MouseButton) {
|
|||
}
|
||||
}
|
||||
case .seeds:
|
||||
if !tile_data.has_plant {
|
||||
if !tile_data.has_plant && tile_data.is_tiled {
|
||||
tile_data.has_plant = true
|
||||
tile_data.plant_id = current_hand_item
|
||||
tile_data.animation = get_plant_animation(current_hand_item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue