mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-03-03 01:30:07 +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…
x
Reference in New Issue
Block a user