| 205 | } |
| 206 | |
| 207 | bool GM_Manager::containsScript(const QString &fullName) const |
| 208 | { |
| 209 | for (GM_Script* script : std::as_const(m_scripts)) { |
| 210 | if (fullName == script->fullName()) { |
| 211 | return true; |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | return false; |
| 216 | } |
| 217 | |
| 218 | void GM_Manager::enableScript(GM_Script* script) |
| 219 | { |