AP_Mission: ensure ENABLE_SCRIPTING is always defined

This commit is contained in:
Peter Barker 2021-11-15 12:16:25 +11:00 committed by Peter Barker
parent 39a4f0b3b2
commit 6fef352b8f
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ bool AP_Mission::start_command_do_sprayer(const AP_Mission::Mission_Command& cmd
bool AP_Mission::start_command_do_scripting(const AP_Mission::Mission_Command& cmd)
{
#ifdef ENABLE_SCRIPTING
#if ENABLE_SCRIPTING
AP_Scripting *scripting = AP_Scripting::get_singleton();
if (scripting == nullptr) {
return false;