Check overhang is not invalid before setting user

This commit is contained in:
Neil Burrows 2022-04-22 17:48:38 +01:00 committed by Neil Burrows
parent e1169888e7
commit be3648c340

View File

@ -176,7 +176,7 @@ end sub
' Update username in overhang
sub updateUser()
' Passthrough to overhang
m.overhang.currentUser = m.top.currentUser
if m.overhang <> invalid then m.overhang.currentUser = m.top.currentUser
end sub