| 183 | } |
| 184 | |
| 185 | void execUserScript() |
| 186 | { |
| 187 | Console->Execute("unbindall"); |
| 188 | |
| 189 | if (FS.exist("$app_data_root$", Console->ConfigFile)) |
| 190 | { |
| 191 | Console->ExecuteScript(Console->ConfigFile); |
| 192 | } |
| 193 | else |
| 194 | { |
| 195 | string_path default_full_name; |
| 196 | |
| 197 | FS.update_path(default_full_name, "$game_config$", "rspec_default.ltx"); |
| 198 | |
| 199 | Console->ExecuteScript(default_full_name); |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | void Startup() |
| 204 | { |
no test coverage detected