mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 09:37:30 +00:00
🐛 Fix script characters unexpected change
This commit is contained in:
parent
06195cca5f
commit
78b8889281
@ -169,7 +169,7 @@ class GCSimRunner:
|
||||
if script is None:
|
||||
return GCSimResult(error="未找到脚本", user_id=user_id, uid=uid, script_key=script_key)
|
||||
try:
|
||||
merged_script = GCSimConverter.merge_character_infos(script, character_infos)
|
||||
merged_script = GCSimConverter.merge_character_infos(script.copy(), character_infos)
|
||||
except ValueError:
|
||||
return GCSimResult(error="无法合并角色信息", user_id=user_id, uid=uid, script_key=script_key)
|
||||
if not config.debug:
|
||||
|
Loading…
Reference in New Issue
Block a user