|
|
|
@ -270,7 +270,7 @@ class ChallengesController < ApplicationController
|
|
|
|
|
@challenge.destroy
|
|
|
|
|
# 关卡位置被删除,需要修改脚本
|
|
|
|
|
script = modify_shixun_script @shixun, @shixun.evaluate_script
|
|
|
|
|
@shixun.update_column(:evaluate_script, script)
|
|
|
|
|
@shixun.shixun_info.update_column(:evaluate_script, script)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|