From f53d9a5f263e2618f9f83ead3c9dbcb335bd4bca Mon Sep 17 00:00:00 2001 From: nezuo Date: Mon, 13 May 2024 21:19:22 -0700 Subject: [PATCH] Fix tests --- src/snapshot_middleware/lua.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snapshot_middleware/lua.rs b/src/snapshot_middleware/lua.rs index efa0ff6fa..c8b3205f0 100644 --- a/src/snapshot_middleware/lua.rs +++ b/src/snapshot_middleware/lua.rs @@ -38,7 +38,7 @@ pub fn snapshot_lua( let (class_name, run_context) = match script_type { ScriptType::Server => { if context.emit_legacy_scripts { - ("Script", None) + ("Script", run_context_enums.get("Legacy")) } else { ("Script", run_context_enums.get("Server")) }