fix reappearing start button
This commit is contained in:
parent
f1871c5080
commit
6b3ba07bd3
|
|
@ -1916,6 +1916,11 @@ mark_download_complete() {
|
|||
////////////////////////////////////////////////////////////////////
|
||||
void P3DInstance::
|
||||
ready_to_start() {
|
||||
if (is_started()) {
|
||||
// Already started.
|
||||
return;
|
||||
}
|
||||
|
||||
_panda_script_object->set_string_property("status", "ready");
|
||||
send_notify("onready");
|
||||
if (_auto_start) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue