You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Fix STANDALONE_EXPRESSION warning for preload()
This commit is contained in:
@@ -74,7 +74,7 @@ String GDScriptWarning::get_message() const {
|
||||
case UNREACHABLE_PATTERN:
|
||||
return "Unreachable pattern (pattern after wildcard or bind).";
|
||||
case STANDALONE_EXPRESSION:
|
||||
return "Standalone expression (the line has no effect).";
|
||||
return "Standalone expression (the line may have no effect).";
|
||||
case STANDALONE_TERNARY:
|
||||
return "Standalone ternary operator: the return value is being discarded.";
|
||||
case INCOMPATIBLE_TERNARY:
|
||||
|
||||
Reference in New Issue
Block a user