Compare commits
2 Commits
39d1b95307
...
3789b2b3a2
Author | SHA1 | Date | |
---|---|---|---|
3789b2b3a2 | |||
4f390aaa94 |
11
script.lua
11
script.lua
@ -78,7 +78,13 @@ do
|
||||
["aquatic_override"]=false,
|
||||
["is_cat"]=true
|
||||
}
|
||||
sharedconfig.load_defaults(defaults)
|
||||
local function armor_refresh_callback()
|
||||
if player:isLoaded() then pmRefresh() end
|
||||
end
|
||||
local callbacks={
|
||||
["armor_enabled"]=armor_refresh_callback
|
||||
}
|
||||
sharedconfig.load_defaults(defaults, callbacks)
|
||||
end
|
||||
|
||||
local function printSettings()
|
||||
@ -829,7 +835,8 @@ do
|
||||
end
|
||||
|
||||
set_gay_idiot_nearby(nearby_ticks>=5*20)
|
||||
|
||||
else
|
||||
set_gay_idiot_nearby(false)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user