Skip to content

Commit ac59cd3

Browse files
committed
Update config.cpp
1 parent 09bdfc2 commit ac59cd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/behaviortree_cpp_v3/config.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#ifdef Ivy
99

10-
#include "Engine/Public.h"
10+
#include "Ivy-sdk/src/common/Sys.h"
1111
#include "Body/Skin.h"
1212
#include "Anim/IvyAnim.h"
1313
#include "Engine/Behavior/EventDispatcher.h"
@@ -52,7 +52,7 @@ namespace BT {
5252
ret = Skin::instance().hugging();
5353
break;
5454
case is_daytime:
55-
ret = Public::is_daytime();
55+
ret = Sys::is_daytime();
5656
break;
5757
case night_sleeping:
5858
/* only fake sleeping is considered */
@@ -91,7 +91,7 @@ namespace BT {
9191
value = Prop::get<double>(Prop::soil_moisture);
9292
break;
9393
case current_hour:
94-
value = Public::get_hour();
94+
value = Sys::get_hour();
9595
break;
9696
case water_status:
9797
value = Plant::instance().get_status().water_status;

0 commit comments

Comments
 (0)