diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-08-08 22:11:48 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-08-09 13:54:52 +0200 |
commit | af5e0fff66d55d07a7910bcd7f170da2f952f7cb (patch) | |
tree | cdf217de6cd3ce1c038b7d159d06635a641105f2 /scene/main/timer.cpp | |
parent | d2a67c9c1fdee470064f2b3c5750c98f174b5399 (diff) |
Remove ERR_EXPLAIN from scene/* code
Diffstat (limited to 'scene/main/timer.cpp')
-rwxr-xr-x | scene/main/timer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp index 2ae950dad5..03d46fd28d 100755 --- a/scene/main/timer.cpp +++ b/scene/main/timer.cpp @@ -80,8 +80,7 @@ void Timer::_notification(int p_what) { } void Timer::set_wait_time(float p_time) { - ERR_EXPLAIN("time should be greater than zero."); - ERR_FAIL_COND(p_time <= 0); + ERR_FAIL_COND_MSG(p_time <= 0, "Time should be greater than zero."); wait_time = p_time; } float Timer::get_wait_time() const { |