TeslaCloud / flux-ce

Flux Community Edition (CE); A free and open-source Garry's Mod gamemode framework.
https://f.teslacloud.net
MIT License
26 stars 18 forks source link

Changing parameters to match expected value. #29

Closed garytate closed 5 years ago

garytate commented 5 years ago

Was causing Lua error:

[ERROR] gamemodes/reborn/schema/cl_schema.lua:10: attempt to index a string value with bad key ('gender' is not part of the string library)

error - [C]:-1 __index - lua/includes/extensions/string.lua:297

  1. get_random_name - gamemodes/reborn/schema/cl_schema.lua:10
  2. DoClick - gamemodes/flux/plugins/characters/plugin/views/cl_character_general.lua:101
  3. unknown - gamemodes/flux/crates/flow/views/base/cl_button.lua:36

Now works without issue.

garytate commented 5 years ago

Fixes Attempting to select a random name causes an error. #28