From 9060702e1989cf78f20705080e33e3c6eccb3e71 Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Fri, 14 Mar 2025 15:59:42 +0100 Subject: [PATCH] Fix massive oopsie in blood pool linked list handling. --- language.version | 4 ++-- zscript/swwm_blod.zsc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/language.version b/language.version index 85670a6ae..55ce61373 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1198 \cu(jue 13 mar 2025 14:50:58 CET)\c-"; -SWWM_SHORTVER="\cw1.3pre r1198 \cu(2025-03-13 14:50:58)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1198 \cu(vie 14 mar 2025 15:59:42 CET)\c-"; +SWWM_SHORTVER="\cw1.3pre r1198 \cu(2025-03-14 15:59:42)\c-"; diff --git a/zscript/swwm_blod.zsc b/zscript/swwm_blod.zsc index 3c112090d..8ac014e17 100644 --- a/zscript/swwm_blod.zsc +++ b/zscript/swwm_blod.zsc @@ -906,7 +906,7 @@ Class mkBloodPool : SWWMNonInteractiveActor if ( nextpool ) nextpool.prevpool = prevpool; } let hnd = SWWMHandler(EventHandler.Find('SWWMHandler')); - if ( !hnd ) return; + if ( !hnd || (hnd.bloodpools != self) ) return; hnd.bloodpools = nextpool; }