mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-11-04 14:05:29 +01:00 
			
		
		
		
	Removed two global variables
Thanks to crabman for having warned me.
This commit is contained in:
		@@ -15,7 +15,7 @@ home.sethome = function(name)
 | 
			
		||||
	end
 | 
			
		||||
    home.homepos[p_status][player:get_player_name()] = pos
 | 
			
		||||
    minetest.chat_send_player(name, "Home set!")
 | 
			
		||||
    changed = true
 | 
			
		||||
    local CHANGED = true
 | 
			
		||||
    if changed then
 | 
			
		||||
    	local output = io.open(home.homes_file[p_status], "w")
 | 
			
		||||
        for i, v in pairs(home.homepos[p_status]) do
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user