mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-13 01:08:06 +00:00
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());
|
dialog = new DialogActor(this, id, prop.get("dialog").toString(), prop.get("sprite").toString());
|
||||||
else {
|
else {
|
||||||
dialog = new DialogActor(this, id, prop.get("dialog").toString(), tiledObj.getTextureRegion());
|
dialog = new DialogActor(this, id, prop.get("dialog").toString(), tiledObj.getTextureRegion());
|
||||||
|
}
|
||||||
|
if (prop.containsKey("hidden") && Boolean.parseBoolean(prop.get("hidden").toString()))
|
||||||
|
{
|
||||||
dialog.setVisible(false);
|
dialog.setVisible(false);
|
||||||
}
|
}
|
||||||
addMapActor(obj, dialog);
|
addMapActor(obj, dialog);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
<object name="dialog" type="dialog" gid="1418" width="16" height="16">
|
<object name="dialog" type="dialog" gid="1418" width="16" height="16">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="dialog" value=""/>
|
<property name="dialog" value=""/>
|
||||||
|
<property name="hidden" type="bool" value="true"/>
|
||||||
<property name="type" value="dialog"/>
|
<property name="type" value="dialog"/>
|
||||||
</properties>
|
</properties>
|
||||||
</object>
|
</object>
|
||||||
|
|||||||
Reference in New Issue
Block a user