mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
We now access the scriptlink by calling object.scriptlink instead of get_scriptlink. Shortens the typage a little and allows for some less complex fun possibilities down the road.
This commit is contained in:
parent
e6e5a889f5
commit
51a911d048
4 changed files with 16 additions and 13 deletions
|
|
@ -239,7 +239,7 @@ def handle(cdat):
|
|||
cdat['uinput'] = parsed_input
|
||||
|
||||
# SCRIPT: See if the player can traverse the exit
|
||||
if not targ_exit.get_scriptlink().default_lock({
|
||||
if not targ_exit.scriptlink.default_lock({
|
||||
"pobject": pobject
|
||||
}):
|
||||
session.msg("You can't traverse that exit.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue