fix: hot reload on all scripts
This commit is contained in:
@@ -2,7 +2,7 @@ float x = 50;
|
||||
float y = 100;
|
||||
|
||||
void Update(float dt) {
|
||||
x += 50 * dt;
|
||||
x += 500 * dt;
|
||||
if (x > 800) {
|
||||
x = 0;
|
||||
Print("X position reset!");
|
||||
@@ -10,4 +10,4 @@ void Update(float dt) {
|
||||
Log(LOG_WARNING, "Log WARNING: reset happened");
|
||||
Log(LOG_ERROR, "Log ERROR: reset happened");
|
||||
}
|
||||
}
|
||||
}//
|
||||
|
||||
Reference in New Issue
Block a user