mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 10:35:41 +01:00
[MIRROR] Bumps auxlua to 1.2.1 (+ several other ui fixes and qol tweaks) [MDB IGNORE] (#15786)
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
/datum/lua_editor
|
||||
var/datum/lua_state/current_state
|
||||
|
||||
/// Code imported from the user's system
|
||||
var/imported_code
|
||||
|
||||
/// Arguments for a function call or coroutine resume
|
||||
var/list/arguments = list()
|
||||
|
||||
/// If set, the global table will not be shown in the lua editor
|
||||
/// If not set, the global table will not be shown in the lua editor
|
||||
var/show_global_table = FALSE
|
||||
|
||||
/// The log page we are currently on
|
||||
@@ -125,7 +122,8 @@
|
||||
if("runCode")
|
||||
var/code = params["code"]
|
||||
var/result = current_state.load_script(code)
|
||||
current_state.log_result(result)
|
||||
var/index_with_result = current_state.log_result(result)
|
||||
message_admins("[key_name(usr)] executed [length(code)] bytes of lua code. [ADMIN_LUAVIEW_CHUNK(current_state, index_with_result)]")
|
||||
return TRUE
|
||||
if("moveArgUp")
|
||||
var/list/path = params["path"]
|
||||
|
||||
Reference in New Issue
Block a user