Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2018, 4:16:02 PM (6 years ago)
Author:
adamc
Message:

scriptablecontroller fixed the No-Script-Option_Error (?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController_FS18/src/orxonox/scriptablecontroller/scriptable_controller.cc

    r11854 r11861  
    1414    int ret;
    1515
    16     // Not having a script specified at all is not an error
    17     if(file_path.empty())
     16    // Not having a script specified at all is not an error.
     17    if(file_path.empty()){
     18        orxout(internal_warning) << "No script specified!" << std::endl;
    1819        return 0;
     20    }
    1921
    2022    // Create a lua object
     
    2628    }
    2729
    28     // Make standard libraries available in the Lua object
     30    // Make standard libraries available in the Lua object.
    2931    luaL_openlibs(lua);
    3032
Note: See TracChangeset for help on using the changeset viewer.