mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 09:23:40 +00:00
Added some obvious errors explanations
This commit is contained in:
parent
e9f49a6d5a
commit
17732fe698
125 changed files with 435 additions and 458 deletions
|
|
@ -55,7 +55,7 @@ JavaScript *JavaScript::get_singleton() {
|
|||
|
||||
JavaScript::JavaScript() {
|
||||
|
||||
ERR_FAIL_COND(singleton != NULL);
|
||||
ERR_FAIL_COND_MSG(singleton != NULL, "JavaScript singleton already exist.");
|
||||
singleton = this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue