diff --git a/src/thingdef/thingdef_states.cpp b/src/thingdef/thingdef_states.cpp index 32a6b0913..50b03eb27 100644 --- a/src/thingdef/thingdef_states.cpp +++ b/src/thingdef/thingdef_states.cpp @@ -372,7 +372,7 @@ void AddImplicitReturn(FxSequence *code, const PPrototype *proto, FScanner &sc) else { // Something was returned earlier in the sequence. Make it an error // instead of adding an implicit one. - sc.ScriptError("Action list must return a value"); + sc.ScriptError("Not all paths return a value"); } }