if player inputs command with caps, it recognises this and returns them
This commit is contained in:
@@ -60,7 +60,7 @@ func EnterCommand() -> void:
|
|||||||
|
|
||||||
if historyContainer.get_child_count() <22:
|
if historyContainer.get_child_count() <22:
|
||||||
CreateHistoryEntry(fullText)
|
CreateHistoryEntry(fullText)
|
||||||
var parts = userInput.split(" ")
|
var parts = userInput.to_lower().split(" ")
|
||||||
|
|
||||||
match parts[0]:
|
match parts[0]:
|
||||||
"ls", "list":
|
"ls", "list":
|
||||||
|
|||||||
Reference in New Issue
Block a user