diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 3d93e7a0a..22afac1b6 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -3655,6 +3655,12 @@ void DLevelScript::Serialize(FSerializer &arc) if (arc.isReading()) { activeBehavior = FBehavior::StaticGetModule(lib); + + if (nullptr == activeBehavior) + { + I_Error("Could not find ACS module"); + } + pc = activeBehavior->Ofs2PC(pcofs); } }