mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-03 16:55:24 +01:00 
			
		
		
		
	Fix CSM help form using "/" instead of "." (#15034)
when copying commands to chat
This commit is contained in:
		@@ -69,7 +69,7 @@ local function build_chatcommands_formspec(name, sel, copy)
 | 
			
		||||
				description = cmds[2].description
 | 
			
		||||
				if copy then
 | 
			
		||||
					local msg = S("Command: @1 @2",
 | 
			
		||||
						core.colorize("#0FF", "/" .. cmds[1]), cmds[2].params)
 | 
			
		||||
						core.colorize("#0FF", (INIT == "client" and "." or "/") .. cmds[1]), cmds[2].params)
 | 
			
		||||
					if INIT == "client" then
 | 
			
		||||
						core.display_chat_message(msg)
 | 
			
		||||
					else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user