| 266 | } |
| 267 | |
| 268 | static bool is_suspendmanager_enabled(color_ostream &out) { |
| 269 | bool suspendmanager_enabled = false; |
| 270 | Lua::CallLuaModuleFunction(out, "plugins.buildingplan", "is_suspendmanager_enabled", {}, |
| 271 | 1, [&](lua_State *L){ |
| 272 | suspendmanager_enabled = lua_toboolean(L, -1); |
| 273 | }); |
| 274 | return suspendmanager_enabled; |
| 275 | } |
| 276 | |
| 277 | DFhackCExport command_result plugin_load_world_data (color_ostream &out) { |
| 278 | mat_cache.clear(); |
no test coverage detected