carenalgas / popochiu

Godot plugin to make point n' click games in a similar way to tools like Adventure Game Studio and Power Quest.
MIT License
159 stars 17 forks source link

Characters that start with C are not correctly listed in the Characters in room section (1.x) #154

Closed mapedorr closed 5 months ago

mapedorr commented 5 months ago

Bug description

Took from a message written by the 2ndGarrison user in the Discord server:

"I'm working with version 1.10 of the plugin, and am experiencing within individual room configurations. I've created several different characters. Here are three of their names:

ConvoAlien
CcChump
ChCCChCCHamp

When I add any of these characters (with "C" as the first letter) to any of the rooms that I've created, if I close that scene, and then reopen it, under the Characters in room category in these rooms, the Cxxx characters still show up in the list (as expected), but the above mentioned characters are shown as:

onvoAlien
ump
Hamp

When I try to open these assets from the list, the engine gives an error that the asset couldn't be found, and it adds the character again, but adds 2 to the name (e.g. clicking ump throws error and then adds ump2 to the list)."

Steps to reproduce

Steps to reproduce the behavior:

  1. Create a character which name starts with C.
  2. Add the created character to a room.
  3. Close and open such room.
  4. The name of the character will display wrong in the Characters in room category, and trying to open its scene with the corresponding button in its row will throw an error.

Expected vs observed behavior

The list of characters should show their names correctly, and one should be able to open the character's scene, like it happens with any other character name that doesn't start with C.

Environment information (please complete):

Additional context

image

mapedorr commented 5 months ago

Fixed in #155