GRIM: If duration == 0 the text object won't expire.
This commit is contained in:
parent
2ba81d9c13
commit
5efbdf0a1b
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ void TextObject::draw() {
|
|||
}
|
||||
|
||||
void TextObject::update() {
|
||||
if (!_created || _disabled) {
|
||||
if (!_duration || !_created || _disabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue