Add proper lua api deprecated handling

This commit is contained in:
sapier
2014-04-29 17:47:34 +02:00
parent c03d7dc8a7
commit b5acec0a3c
11 changed files with 75 additions and 3 deletions

View File

@@ -285,6 +285,11 @@
#disable_anticheat = false
# If true, actions are recorded for rollback
#enable_rollback_recording = false
# handling for deprecated lua api calls
# "legacy" = (try to) mimic old behaviour (default for release)
# "log" = mimic and log backtrace of deprecated call (default for debug)
# "error" = abort on usage of deprecated call (suggested for mod developers)
#deprecated_lua_api_handling = legacy
# Profiler data print interval. #0 = disable.
#profiler_print_interval = 0