summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-06-23 22:00:47 -0400
committerGitHub <noreply@github.com>2019-06-23 22:00:47 -0400
commit5b7c34096cff301c4d74bb2e67a7164b66bcc5dd (patch)
tree6124fc5f2881ec5d698509101b407a36fdb934cd /src/scrcmd.c
parente0a5896de36da0bb83c3983df8b2f47d019a8896 (diff)
parent756f2c3a71c8f7e832a9e70a542210f549f4c61b (diff)
Merge pull request #74 from jiangzhengwenjz/misc
menu_helpers
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 7c27293a7..12b2892bb 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1201,7 +1201,7 @@ bool8 ScrCmd_turnvobject(struct ScriptContext *ctx)
bool8 ScrCmd_lockall(struct ScriptContext *ctx)
{
- if (is_c1_link_related_active())
+ if (IsUpdateLinkStateCBActive())
{
return FALSE;
}
@@ -1215,7 +1215,7 @@ bool8 ScrCmd_lockall(struct ScriptContext *ctx)
bool8 ScrCmd_lock(struct ScriptContext *ctx)
{
- if (is_c1_link_related_active())
+ if (IsUpdateLinkStateCBActive())
{
return FALSE;
}