mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-08-16 14:29:00 +00:00
Merge branch 'master' of https://github.com/badvision/lawless-legends
This commit is contained in:
commit
962f130b40
@ -190,6 +190,8 @@ public class MapEditorTabControllerImpl extends MapEditorTabController {
|
|||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
Script script = TransferHelper.cloneObject(source, Script.class, "script");
|
Script script = TransferHelper.cloneObject(source, Script.class, "script");
|
||||||
|
script.getLocationTrigger().clear();
|
||||||
|
script.getIntervalTrigger().clear();
|
||||||
script.setName(source.getName() + " CLONE");
|
script.setName(source.getName() + " CLONE");
|
||||||
getCurrentEditor().addScript(script);
|
getCurrentEditor().addScript(script);
|
||||||
editScript(script, getCurrentMap());
|
editScript(script, getCurrentMap());
|
||||||
|
Loading…
Reference in New Issue
Block a user