diff options
author | Emiel van Rooijen <evrooije@users.noreply.github.com> | 2019-03-27 22:24:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 22:24:51 +0100 |
commit | 0b412261d722b66ff796f35c1c1a02744bbbb204 (patch) | |
tree | c0b2e62ab66097ea7a599e8e624b0b477f779029 | |
parent | 68bee29514287b51c4c170b28b30cbae24294a94 (diff) | |
download | beerchat-0b412261d722b66ff796f35c1c1a02744bbbb204.tar.gz beerchat-0b412261d722b66ff796f35c1c1a02744bbbb204.tar.bz2 beerchat-0b412261d722b66ff796f35c1c1a02744bbbb204.zip |
Update init.lua
Fix bug where a change of main channel attributes after first initialization is not properly reflected. They are overwritten by the config in the mod storage, so e.g. a change of main channel color does not work.
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,6 +91,7 @@ if mod_storage:get_string("channels") == "" then end channels = minetest.parse_json(mod_storage:get_string("channels")) +channels[main_channel_name] = { owner = main_channel_owner, color = main_channel_color } playersChannels = {} local currentPlayerChannel = {} |