mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
Merge pull request #3103 from jjayers99/master
Adventure gate texture fix
This commit is contained in:
@@ -692,6 +692,9 @@ public class MapStage extends GameStage {
|
||||
dialog = new DialogActor(this, id, prop.get("dialog").toString(), prop.get("sprite").toString());
|
||||
else {
|
||||
dialog = new DialogActor(this, id, prop.get("dialog").toString(), tiledObj.getTextureRegion());
|
||||
}
|
||||
if (prop.containsKey("hidden") && Boolean.parseBoolean(prop.get("hidden").toString()))
|
||||
{
|
||||
dialog.setVisible(false);
|
||||
}
|
||||
addMapActor(obj, dialog);
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<object name="dialog" type="dialog" gid="1418" width="16" height="16">
|
||||
<properties>
|
||||
<property name="dialog" value=""/>
|
||||
<property name="hidden" type="bool" value="true"/>
|
||||
<property name="type" value="dialog"/>
|
||||
</properties>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user