refactor: use Notify instead of Log for /reset_radar_data command

This commit is contained in:
Dan
2021-03-03 13:09:27 +00:00
parent 95d8feb6a6
commit 4f634f7ab2

View File

@@ -103,7 +103,7 @@ local function RegisterKeyBinds()
DeleteResourceKvp( "wk_wars2x_om_data" ) DeleteResourceKvp( "wk_wars2x_om_data" )
DeleteResourceKvp( "wk_wars2x_new_user" ) DeleteResourceKvp( "wk_wars2x_new_user" )
UTIL:Log( "Radar data deleted, please immediately restart your game without opening the radar's remote." ) UTIL:Notify( "Radar data deleted, please immediately restart your game without opening the radar's remote." )
end, false ) end, false )
else else
UTIL:Log( "ERROR: Resource name is not wk_wars2x. Key binds will not be registered for compatibility reasons. Contact the server owner and ask them to change the resource name back to wk_wars2x" ) UTIL:Log( "ERROR: Resource name is not wk_wars2x. Key binds will not be registered for compatibility reasons. Contact the server owner and ask them to change the resource name back to wk_wars2x" )