Scene cleanup on completion.
This commit is contained in:
@@ -65,6 +65,9 @@ func (s *Splash) Update() error {
|
||||
|
||||
if s.bgcolor.R == 0x00 {
|
||||
s.events[groovy.COMPLETED]()
|
||||
|
||||
//scene cleanup (for next time)
|
||||
s.increment = 0
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user