aboutsummaryrefslogtreecommitdiff
path: root/build/android/app/src/main
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-07-01 13:47:50 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2018-07-01 13:47:57 +0200
commit1ff15d3a46042d3432d9485249e4dc3b08dbc6ff (patch)
treebee96a618aa2f245a4f7838d71a74ea9b506a56e /build/android/app/src/main
parent49509d2f746b7a8d50e685cfd0e0b391676b9466 (diff)
Drop ClientEvent CEE_PLAYER_BREATH: triggering function is not called.
Also drop 3 useless IntervalLimiter
Diffstat (limited to 'build/android/app/src/main')
0 files changed, 0 insertions, 0 deletions
the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "cpp_api/s_mainmenu.h" #include "cpp_api/s_internal.h" #include "common/c_converter.h" void ScriptApiMainMenu::setMainMenuData(MainMenuDataForScript *data) { SCRIPTAPI_PRECHECKHEADER lua_getglobal(L, "gamedata"); int gamedata_idx = lua_gettop(L); lua_pushstring(L, "errormessage"); if (!data->errormessage.empty()) { lua_pushstring(L, data->errormessage.c_str()); } else { lua_pushnil(L); } lua_settable(L, gamedata_idx); setboolfield(L, gamedata_idx, "reconnect_requested", data->reconnect_requested);