diff --git a/desktop_version/src/Logic.cpp b/desktop_version/src/Logic.cpp index 76064ccd..7f1fb3b4 100644 --- a/desktop_version/src/Logic.cpp +++ b/desktop_version/src/Logic.cpp @@ -1599,7 +1599,7 @@ void gamelogic(void) game.activeactivity = obj.checkactivity(); if (game.hascontrol && !script.running - && INBOUNDS_VEC(game.activeactivity, obj.entities)) + && INBOUNDS_VEC(game.activeactivity, obj.blocks)) { game.activity_lastprompt = obj.blocks[game.activeactivity].prompt; game.activity_r = obj.blocks[game.activeactivity].r;