ludic.clock: clock_hhmm reads a table of the day's times made with the state; ludic.minimap: minimap_pin past the end is one kept empty mark; ludic.ui: ev_text's memo miss is its own declared function

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 17:57:30 +03:00
parent bad7c4a255
commit ac8c7b0c0b
5 changed files with 25 additions and 7 deletions

View file

@ -66,7 +66,7 @@ export function minimap_pin_put(minimap_st: mut MinimapState, x: float, z: float
# the i-th mark, or an empty one past the end
export function minimap_pin(minimap_st: MinimapState, i: int) -> MinimapPin {
if i < 0 or i >= minimap_pin_count(minimap_st) { return new MinimapPin }
if i < 0 or i >= minimap_pin_count(minimap_st) { return minimap_st.mm_none }
return minimap_st.mm_pins[i]
}