summaryrefslogtreecommitdiff
path: root/src/LivingVillage.Desktop
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-21 16:04:56 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-21 16:04:56 +0800
commit18977f1147a3778b90caad48a53e760c79349175 (patch)
treec04a1a8261301edd3a88b851e1389e735fcfdcde /src/LivingVillage.Desktop
parentb0a7e1f23e1168725c62019824182ad3e24f45c5 (diff)
downloadliving-village-18977f1147a3778b90caad48a53e760c79349175.tar.gz
fix(desktop): RiverLantern 模式限定消除TW + 中文维护文档
Game.fs 733/741 两条编译警告(FS0049 未限定模式绑 + FS0026 不可达)由 Qualified VillageArt.RenderPropKind.RiverLantern 修复,全仓 0 警告;Leader 所指 Interaction.fs:191 并无编译警告(已记录于验资说明);docs/维护说明.md 首开:模块职责/O 不变量/信息 digest 变化处理/可复制命令。
Diffstat (limited to 'src/LivingVillage.Desktop')
-rw-r--r--src/LivingVillage.Desktop/Game.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LivingVillage.Desktop/Game.fs b/src/LivingVillage.Desktop/Game.fs
index 62ba8f0..9fab5f7 100644
--- a/src/LivingVillage.Desktop/Game.fs
+++ b/src/LivingVillage.Desktop/Game.fs
@@ -730,7 +730,7 @@ type LivingVillageGame() as this =
let ringAlpha = int (18.0f * glow)
for prop in renderPlan.Props do
match prop.Kind with
- | RiverLantern ->
+ | VillageArt.RenderPropKind.RiverLantern ->
let position = VillageArt.worldTile renderPlan prop.Position
let screenX = position.X * Sim.tilePixels - int camera.X + Sim.tilePixels / 2
let screenY = position.Y * Sim.tilePixels - int camera.Y - Sim.tilePixels / 2